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

@@ -34,7 +34,6 @@ use std::collections::{HashMap, hash_map};
use environ::{FuncEnvironment, GlobalValue};
use std::{i32, u32};
// this is for no_std builds, but has no affect on regular builds
use std::vec::Vec;
/// Translates wasm operators into Cretonne IL instructions. Returns `true` if it inserted

View File

@@ -11,7 +11,6 @@ use cretonne::settings;
use wasmparser;
use std::error::Error;
// this is for no_std builds, but has no affect on regular builds
use std::vec::Vec;
use std::string::String;

View File

@@ -6,7 +6,6 @@ use cretonne::settings::Flags;
use translation_utils::{SignatureIndex, FunctionIndex, TableIndex, GlobalIndex, MemoryIndex,
Global, Table, Memory};
// this is for no_std builds, but has no affect on regular builds
use std::vec::Vec;
use std::string::String;

View File

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

View File

@@ -8,7 +8,6 @@ use sections_translator::{SectionParsingError, parse_function_signatures, parse_
parse_elements_section, parse_data_section};
use environ::ModuleEnvironment;
// this is for no_std builds, but has no affect on regular builds
use std::string::String;
/// Translate a sequence of bytes forming a valid Wasm binary into a list of valid Cretonne IL

View File

@@ -17,7 +17,6 @@ use wasmparser;
use std::str::from_utf8;
use environ::ModuleEnvironment;
// this is for no_std builds, but has no affect on regular builds
use std::vec::Vec;
use std::string::String;

View File

@@ -8,7 +8,6 @@ use environ::{FuncEnvironment, GlobalValue};
use std::collections::HashMap;
use translation_utils::{GlobalIndex, MemoryIndex, SignatureIndex, FunctionIndex};
// this is for no_std builds, but has no affect on regular builds
use std::vec::Vec;
/// A control stack frame can be an `if`, a `block` or a `loop`, each one having the following