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