remove unused imports

This commit is contained in:
Brendan Cully 2013-07-10 22:08:50 -07:00
parent 9b5d523126
commit e6e4f52bcf
7 changed files with 3 additions and 7 deletions

View File

@ -59,7 +59,6 @@ use middle::trans::type_of::*;
use middle::ty;
use util::common::indenter;
use util::ppaux::{Repr, ty_to_str};
use middle::pat_util;
use middle::trans::type_::Type;

View File

@ -20,7 +20,6 @@ use std::vec;
use back::abi;
use driver::session;
use lib;
use lib::llvm::ValueRef;
use lib::llvm::llvm;
use metadata::csearch;

View File

@ -29,7 +29,6 @@ use std::hash;
use std::hashmap::{HashMap, HashSet};
use std::str;
use std::local_data;
use extra::time;
use syntax::ast;
use middle::trans::common::{mono_id,ExternMap,tydesc_info,BuilderRef_res,Stats};

View File

@ -100,7 +100,6 @@ use middle::trans::glue;
use middle::trans::tvec;
use middle::trans::type_of;
use middle::trans::write_guard;
use middle::trans::type_::Type;
use middle::ty;
use util::common::indenter;
use util::ppaux::ty_to_str;

View File

@ -39,7 +39,6 @@ use middle::trans::type_::Type;
use std::io;
use std::libc::c_uint;
use std::str;
use extra::time;
use syntax::ast;
pub fn trans_free(cx: block, v: ValueRef) -> block {

View File

@ -19,7 +19,6 @@ use middle::trans::glue;
use middle::ty;
use middle::trans::machine::llsize_of;
use middle::trans::type_of;
use middle::trans::type_of::*;
pub fn make_free_glue(bcx: block, vptrptr: ValueRef, box_ty: ty::t)
-> block {

View File

@ -26,7 +26,9 @@ use option::{None, Option, Some};
use ptr::to_unsafe_ptr;
use ptr;
use ptr::RawPtr;
use rt::global_heap::{malloc_raw, realloc_raw};
#[cfg(not(stage0))]
use rt::global_heap::malloc_raw;
use rt::global_heap::realloc_raw;
use sys;
use sys::size_of;
use uint;