Fixed formatting issues

This commit is contained in:
Lachlan Sneff
2018-01-15 17:14:48 -05:00
committed by Dan Gohman
parent 5c85c1ba4a
commit 2462a065ad
12 changed files with 5 additions and 14 deletions

View File

@@ -8,7 +8,6 @@
///
/// The output will appear in files named `cretonne.dbg.*`, where the suffix is named after the
/// thread doing the logging.
#[cfg(not(feature = "no_std"))]
use std::cell::RefCell;
#[cfg(not(feature = "no_std"))]

View File

@@ -76,4 +76,4 @@ mod std {
pub mod error {
pub use error_core::Error;
}
}
}

View File

@@ -7,8 +7,7 @@ use ir::{InstructionData, Function, Inst, Opcode, Type};
use scoped_hash_map::ScopedHashMap;
use timing;
#[cfg(feature = "no_std")]
use alloc::Vec;
use std::vec::Vec;
/// Test whether the given opcode is unsafe to even consider for GVN.
fn trivially_unsafe_for_gvn(opcode: Opcode) -> bool {

View File

@@ -4,8 +4,7 @@ use entity::SparseSet;
use dominator_tree::DominatorTree;
use ir::{Ebb, Layout};
#[cfg(feature = "no_std")]
use alloc::Vec;
use std::vec::Vec;
/// Present EBBs in a topological order such that all dominating EBBs are guaranteed to be visited
/// before the current EBB.