about summary refs log tree commit diff
path: root/src/rustc/lib
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-23 22:25:43 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-23 23:01:49 -0700
commitafd91f8a5698e7767ddfbf90c665c08dcd4f0de0 (patch)
tree3bc5d52fd888c010ea797f6570c92abe861c183a /src/rustc/lib
parent2dae768624de87bcec1160bd29c27af1affe7f5f (diff)
downloadrust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.tar.gz
rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.zip
Register snapshots. Remove redundant Eq impls, Makefile hacks
Diffstat (limited to 'src/rustc/lib')
-rw-r--r--src/rustc/lib/llvm.rs42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/rustc/lib/llvm.rs b/src/rustc/lib/llvm.rs
index 60c08dab716..031ce219308 100644
--- a/src/rustc/lib/llvm.rs
+++ b/src/rustc/lib/llvm.rs
@@ -128,48 +128,6 @@ enum TypeKind {
     X86_MMX   = 15
 }
 
-#[cfg(stage0)]
-impl TypeKind : cmp::Eq {
-    pure fn eq(&&other: TypeKind) -> bool {
-        match (self, other) {
-            (Void, Void) => true,
-            (Half, Half) => true,
-            (Float, Float) => true,
-            (Double, Double) => true,
-            (X86_FP80, X86_FP80) => true,
-            (FP128, FP128) => true,
-            (PPC_FP128, PPC_FP128) => true,
-            (Label, Label) => true,
-            (Integer, Integer) => true,
-            (Function, Function) => true,
-            (Struct, Struct) => true,
-            (Array, Array) => true,
-            (Pointer, Pointer) => true,
-            (Vector, Vector) => true,
-            (Metadata, Metadata) => true,
-            (X86_MMX, X86_MMX) => true,
-            (Void, _) => false,
-            (Half, _) => false,
-            (Float, _) => false,
-            (Double, _) => false,
-            (X86_FP80, _) => false,
-            (FP128, _) => false,
-            (PPC_FP128, _) => false,
-            (Label, _) => false,
-            (Integer, _) => false,
-            (Function, _) => false,
-            (Struct, _) => false,
-            (Array, _) => false,
-            (Pointer, _) => false,
-            (Vector, _) => false,
-            (Metadata, _) => false,
-            (X86_MMX, _) => false,
-        }
-    }
-    pure fn ne(&&other: TypeKind) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl TypeKind : cmp::Eq {
     pure fn eq(other: &TypeKind) -> bool {
         match (self, (*other)) {