about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-12-06 19:45:32 -0800
committerBrian Anderson <banderson@mozilla.com>2012-12-06 19:45:32 -0800
commit791f976e8ca95b00febbaf32b653d12cccb6132d (patch)
treed7359cd731c50111de32ed121685af9d973ff9e5 /src
parentcf3972e95af2ec4c142b3593d697292259741e53 (diff)
downloadrust-791f976e8ca95b00febbaf32b653d12cccb6132d.tar.gz
rust-791f976e8ca95b00febbaf32b653d12cccb6132d.zip
Remove hack to not use type_use on x86
Diffstat (limited to 'src')
-rw-r--r--src/librustc/driver/session.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/librustc/driver/session.rs b/src/librustc/driver/session.rs
index f2d888008c6..38594ea2c17 100644
--- a/src/librustc/driver/session.rs
+++ b/src/librustc/driver/session.rs
@@ -246,10 +246,7 @@ impl Session {
     fn borrowck_note_pure() -> bool { self.debugging_opt(borrowck_note_pure) }
     fn borrowck_note_loan() -> bool { self.debugging_opt(borrowck_note_loan) }
     fn no_monomorphic_collapse() -> bool {
-        // FIXME #4127: Type use is causing mysterious bustage on 32-bit archs
-        let type_use_unreliable = self.targ_cfg.arch == arch_x86;
-
-        self.debugging_opt(no_monomorphic_collapse) || type_use_unreliable
+        self.debugging_opt(no_monomorphic_collapse)
     }
 
     fn str_of(id: ast::ident) -> ~str {