From ddfa88c8ba909cf78d007c2d92b05ad59605a2e2 Mon Sep 17 00:00:00 2001 From: Lachlan Sneff Date: Mon, 15 Jan 2018 19:00:40 -0500 Subject: [PATCH] Removed extraneous newlines --- lib/cretonne/src/dominator_tree.rs | 1 - lib/cretonne/src/isa/arm32/mod.rs | 1 - lib/cretonne/src/isa/arm64/mod.rs | 1 - lib/cretonne/src/isa/intel/mod.rs | 1 - lib/cretonne/src/isa/mod.rs | 1 - lib/cretonne/src/isa/riscv/mod.rs | 1 - lib/cretonne/src/simple_gvn.rs | 1 - lib/cretonne/src/topo_order.rs | 1 - lib/wasm/src/code_translator.rs | 1 - lib/wasm/src/environ/dummy.rs | 1 - lib/wasm/src/environ/spec.rs | 1 - lib/wasm/src/sections_translator.rs | 1 - lib/wasm/src/state.rs | 1 - 13 files changed, 13 deletions(-) diff --git a/lib/cretonne/src/dominator_tree.rs b/lib/cretonne/src/dominator_tree.rs index a7625f840e..6617085834 100644 --- a/lib/cretonne/src/dominator_tree.rs +++ b/lib/cretonne/src/dominator_tree.rs @@ -8,7 +8,6 @@ use packed_option::PackedOption; use std::cmp; use std::mem; use timing; - use std::cmp::Ordering; use std::vec::Vec; diff --git a/lib/cretonne/src/isa/arm32/mod.rs b/lib/cretonne/src/isa/arm32/mod.rs index 50ef3ea7db..02e0d5f1af 100644 --- a/lib/cretonne/src/isa/arm32/mod.rs +++ b/lib/cretonne/src/isa/arm32/mod.rs @@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo}; use ir; use regalloc; use std::fmt; - use std::boxed::Box; #[allow(dead_code)] diff --git a/lib/cretonne/src/isa/arm64/mod.rs b/lib/cretonne/src/isa/arm64/mod.rs index b69e044bf4..8239cb01e9 100644 --- a/lib/cretonne/src/isa/arm64/mod.rs +++ b/lib/cretonne/src/isa/arm64/mod.rs @@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo}; use ir; use regalloc; use std::fmt; - use std::boxed::Box; #[allow(dead_code)] diff --git a/lib/cretonne/src/isa/intel/mod.rs b/lib/cretonne/src/isa/intel/mod.rs index e4841558e4..578dac2d16 100644 --- a/lib/cretonne/src/isa/intel/mod.rs +++ b/lib/cretonne/src/isa/intel/mod.rs @@ -16,7 +16,6 @@ use regalloc; use result; use timing; use std::fmt; - use std::boxed::Box; #[allow(dead_code)] diff --git a/lib/cretonne/src/isa/mod.rs b/lib/cretonne/src/isa/mod.rs index cedfdaa301..7e10f12620 100644 --- a/lib/cretonne/src/isa/mod.rs +++ b/lib/cretonne/src/isa/mod.rs @@ -54,7 +54,6 @@ use result; use timing; use isa::enc_tables::Encodings; use std::fmt; - use std::boxed::Box; #[cfg(build_riscv)] diff --git a/lib/cretonne/src/isa/riscv/mod.rs b/lib/cretonne/src/isa/riscv/mod.rs index 1993ecb9d6..8efae74af7 100644 --- a/lib/cretonne/src/isa/riscv/mod.rs +++ b/lib/cretonne/src/isa/riscv/mod.rs @@ -14,7 +14,6 @@ use isa::{TargetIsa, RegInfo, RegClass, EncInfo}; use ir; use regalloc; use std::fmt; - use std::boxed::Box; #[allow(dead_code)] diff --git a/lib/cretonne/src/simple_gvn.rs b/lib/cretonne/src/simple_gvn.rs index 8f09398c82..dd0fb3b1aa 100644 --- a/lib/cretonne/src/simple_gvn.rs +++ b/lib/cretonne/src/simple_gvn.rs @@ -6,7 +6,6 @@ use dominator_tree::DominatorTree; use ir::{InstructionData, Function, Inst, Opcode, Type}; use scoped_hash_map::ScopedHashMap; use timing; - use std::vec::Vec; /// Test whether the given opcode is unsafe to even consider for GVN. diff --git a/lib/cretonne/src/topo_order.rs b/lib/cretonne/src/topo_order.rs index f2c57f8166..373ab69e0d 100644 --- a/lib/cretonne/src/topo_order.rs +++ b/lib/cretonne/src/topo_order.rs @@ -3,7 +3,6 @@ use entity::SparseSet; use dominator_tree::DominatorTree; use ir::{Ebb, Layout}; - use std::vec::Vec; /// Present EBBs in a topological order such that all dominating EBBs are guaranteed to be visited diff --git a/lib/wasm/src/code_translator.rs b/lib/wasm/src/code_translator.rs index 4a66bce463..c62e1fe76a 100644 --- a/lib/wasm/src/code_translator.rs +++ b/lib/wasm/src/code_translator.rs @@ -33,7 +33,6 @@ use state::{TranslationState, ControlStackFrame}; use std::collections::{HashMap, hash_map}; use environ::{FuncEnvironment, GlobalValue}; use std::{i32, u32}; - use std::vec::Vec; /// Translates wasm operators into Cretonne IL instructions. Returns `true` if it inserted diff --git a/lib/wasm/src/environ/dummy.rs b/lib/wasm/src/environ/dummy.rs index d0dba2c817..de941f3b9a 100644 --- a/lib/wasm/src/environ/dummy.rs +++ b/lib/wasm/src/environ/dummy.rs @@ -10,7 +10,6 @@ use cretonne::cursor::FuncCursor; use cretonne::settings; use wasmparser; use std::error::Error; - use std::vec::Vec; use std::string::String; diff --git a/lib/wasm/src/environ/spec.rs b/lib/wasm/src/environ/spec.rs index dfc2685f33..7872bdb0ea 100644 --- a/lib/wasm/src/environ/spec.rs +++ b/lib/wasm/src/environ/spec.rs @@ -5,7 +5,6 @@ use cretonne::cursor::FuncCursor; use cretonne::settings::Flags; use translation_utils::{SignatureIndex, FunctionIndex, TableIndex, GlobalIndex, MemoryIndex, Global, Table, Memory}; - use std::vec::Vec; use std::string::String; diff --git a/lib/wasm/src/sections_translator.rs b/lib/wasm/src/sections_translator.rs index a1e172aa7c..a12a92e100 100644 --- a/lib/wasm/src/sections_translator.rs +++ b/lib/wasm/src/sections_translator.rs @@ -16,7 +16,6 @@ use wasmparser::{Parser, ParserState, FuncType, ImportSectionEntryType, External use wasmparser; use std::str::from_utf8; use environ::ModuleEnvironment; - use std::vec::Vec; use std::string::String; diff --git a/lib/wasm/src/state.rs b/lib/wasm/src/state.rs index cb8aebb653..40de47d7c6 100644 --- a/lib/wasm/src/state.rs +++ b/lib/wasm/src/state.rs @@ -7,7 +7,6 @@ use cretonne::ir::{self, Ebb, Inst, Value}; use environ::{FuncEnvironment, GlobalValue}; use std::collections::HashMap; use translation_utils::{GlobalIndex, MemoryIndex, SignatureIndex, FunctionIndex}; - use std::vec::Vec; /// A control stack frame can be an `if`, a `block` or a `loop`, each one having the following