Fixed formatting issues
This commit is contained in:
committed by
Dan Gohman
parent
5c85c1ba4a
commit
2462a065ad
@@ -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"))]
|
||||
|
||||
@@ -76,4 +76,4 @@ mod std {
|
||||
pub mod error {
|
||||
pub use error_core::Error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user