Format with stable rustfmt-preview, then with rustfmt-0.9 again.

This commit is contained in:
Dan Gohman
2018-03-30 13:17:15 -07:00
parent d7c66a8ec1
commit 8d5fecd324
127 changed files with 381 additions and 479 deletions

View File

@@ -1,9 +1,9 @@
//! Computing stack layout.
use ir::StackSlots;
use ir::stackslot::{StackSize, StackOffset, StackSlotKind};
use ir::stackslot::{StackOffset, StackSize, StackSlotKind};
use result::CtonError;
use std::cmp::{min, max};
use std::cmp::{max, min};
/// Compute the stack frame layout.
///
@@ -110,7 +110,7 @@ pub fn layout_stack(frame: &mut StackSlots, alignment: StackSize) -> Result<Stac
#[cfg(test)]
mod tests {
use ir::{StackSlots, StackSlotData, StackSlotKind};
use ir::{StackSlotData, StackSlotKind, StackSlots};
use ir::types;
use super::layout_stack;
use ir::stackslot::StackOffset;