Removed extraneous newlines
This commit is contained in:
committed by
Dan Gohman
parent
5590abcfd9
commit
ddfa88c8ba
@@ -8,7 +8,6 @@ use packed_option::PackedOption;
|
|||||||
use std::cmp;
|
use std::cmp;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use timing;
|
use timing;
|
||||||
|
|
||||||
use std::cmp::Ordering;
|
use std::cmp::Ordering;
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo};
|
|||||||
use ir;
|
use ir;
|
||||||
use regalloc;
|
use regalloc;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use std::boxed::Box;
|
use std::boxed::Box;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo};
|
|||||||
use ir;
|
use ir;
|
||||||
use regalloc;
|
use regalloc;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use std::boxed::Box;
|
use std::boxed::Box;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ use regalloc;
|
|||||||
use result;
|
use result;
|
||||||
use timing;
|
use timing;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use std::boxed::Box;
|
use std::boxed::Box;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ use result;
|
|||||||
use timing;
|
use timing;
|
||||||
use isa::enc_tables::Encodings;
|
use isa::enc_tables::Encodings;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use std::boxed::Box;
|
use std::boxed::Box;
|
||||||
|
|
||||||
#[cfg(build_riscv)]
|
#[cfg(build_riscv)]
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo};
|
|||||||
use ir;
|
use ir;
|
||||||
use regalloc;
|
use regalloc;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use std::boxed::Box;
|
use std::boxed::Box;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ use dominator_tree::DominatorTree;
|
|||||||
use ir::{InstructionData, Function, Inst, Opcode, Type};
|
use ir::{InstructionData, Function, Inst, Opcode, Type};
|
||||||
use scoped_hash_map::ScopedHashMap;
|
use scoped_hash_map::ScopedHashMap;
|
||||||
use timing;
|
use timing;
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
/// Test whether the given opcode is unsafe to even consider for GVN.
|
/// Test whether the given opcode is unsafe to even consider for GVN.
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
use entity::SparseSet;
|
use entity::SparseSet;
|
||||||
use dominator_tree::DominatorTree;
|
use dominator_tree::DominatorTree;
|
||||||
use ir::{Ebb, Layout};
|
use ir::{Ebb, Layout};
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
/// Present EBBs in a topological order such that all dominating EBBs are guaranteed to be visited
|
/// Present EBBs in a topological order such that all dominating EBBs are guaranteed to be visited
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ use state::{TranslationState, ControlStackFrame};
|
|||||||
use std::collections::{HashMap, hash_map};
|
use std::collections::{HashMap, hash_map};
|
||||||
use environ::{FuncEnvironment, GlobalValue};
|
use environ::{FuncEnvironment, GlobalValue};
|
||||||
use std::{i32, u32};
|
use std::{i32, u32};
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
/// Translates wasm operators into Cretonne IL instructions. Returns `true` if it inserted
|
/// Translates wasm operators into Cretonne IL instructions. Returns `true` if it inserted
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ use cretonne::cursor::FuncCursor;
|
|||||||
use cretonne::settings;
|
use cretonne::settings;
|
||||||
use wasmparser;
|
use wasmparser;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ use cretonne::cursor::FuncCursor;
|
|||||||
use cretonne::settings::Flags;
|
use cretonne::settings::Flags;
|
||||||
use translation_utils::{SignatureIndex, FunctionIndex, TableIndex, GlobalIndex, MemoryIndex,
|
use translation_utils::{SignatureIndex, FunctionIndex, TableIndex, GlobalIndex, MemoryIndex,
|
||||||
Global, Table, Memory};
|
Global, Table, Memory};
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ use wasmparser::{Parser, ParserState, FuncType, ImportSectionEntryType, External
|
|||||||
use wasmparser;
|
use wasmparser;
|
||||||
use std::str::from_utf8;
|
use std::str::from_utf8;
|
||||||
use environ::ModuleEnvironment;
|
use environ::ModuleEnvironment;
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
use std::string::String;
|
use std::string::String;
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ use cretonne::ir::{self, Ebb, Inst, Value};
|
|||||||
use environ::{FuncEnvironment, GlobalValue};
|
use environ::{FuncEnvironment, GlobalValue};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use translation_utils::{GlobalIndex, MemoryIndex, SignatureIndex, FunctionIndex};
|
use translation_utils::{GlobalIndex, MemoryIndex, SignatureIndex, FunctionIndex};
|
||||||
|
|
||||||
use std::vec::Vec;
|
use std::vec::Vec;
|
||||||
|
|
||||||
/// A control stack frame can be an `if`, a `block` or a `loop`, each one having the following
|
/// A control stack frame can be an `if`, a `block` or a `loop`, each one having the following
|
||||||
|
|||||||
Reference in New Issue
Block a user