about summary refs log tree commit diff
path: root/src/rustc/driver
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/driver
parent2dae768624de87bcec1160bd29c27af1affe7f5f (diff)
downloadrust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.tar.gz
rust-afd91f8a5698e7767ddfbf90c665c08dcd4f0de0.zip
Register snapshots. Remove redundant Eq impls, Makefile hacks
Diffstat (limited to 'src/rustc/driver')
-rw-r--r--src/rustc/driver/driver.rs9
-rw-r--r--src/rustc/driver/rustc.rs9
-rw-r--r--src/rustc/driver/session.rs27
3 files changed, 0 insertions, 45 deletions
diff --git a/src/rustc/driver/driver.rs b/src/rustc/driver/driver.rs
index 6fe6cab58e0..f890fa85eb3 100644
--- a/src/rustc/driver/driver.rs
+++ b/src/rustc/driver/driver.rs
@@ -138,15 +138,6 @@ enum compile_upto {
     cu_everything,
 }
 
-#[cfg(stage0)]
-impl compile_upto : cmp::Eq {
-    pure fn eq(&&other: compile_upto) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: compile_upto) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl compile_upto : cmp::Eq {
     pure fn eq(other: &compile_upto) -> bool {
         (self as uint) == ((*other) as uint)
diff --git a/src/rustc/driver/rustc.rs b/src/rustc/driver/rustc.rs
index 3d055237669..1b4b47f1014 100644
--- a/src/rustc/driver/rustc.rs
+++ b/src/rustc/driver/rustc.rs
@@ -207,15 +207,6 @@ enum monitor_msg {
     done,
 }
 
-#[cfg(stage0)]
-impl monitor_msg : cmp::Eq {
-    pure fn eq(&&other: monitor_msg) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: monitor_msg) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl monitor_msg : cmp::Eq {
     pure fn eq(other: &monitor_msg) -> bool {
         (self as uint) == ((*other) as uint)
diff --git a/src/rustc/driver/session.rs b/src/rustc/driver/session.rs
index 2e8cddf2095..335e1004078 100644
--- a/src/rustc/driver/session.rs
+++ b/src/rustc/driver/session.rs
@@ -12,15 +12,6 @@ use middle::lint;
 
 enum os { os_win32, os_macos, os_linux, os_freebsd, }
 
-#[cfg(stage0)]
-impl os : cmp::Eq {
-    pure fn eq(&&other: os) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: os) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl os : cmp::Eq {
     pure fn eq(other: &os) -> bool {
         (self as uint) == ((*other) as uint)
@@ -30,15 +21,6 @@ impl os : cmp::Eq {
 
 enum arch { arch_x86, arch_x86_64, arch_arm, }
 
-#[cfg(stage0)]
-impl arch: cmp::Eq {
-    pure fn eq(&&other: arch) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: arch) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl arch : cmp::Eq {
     pure fn eq(other: &arch) -> bool {
         (self as uint) == ((*other) as uint)
@@ -112,15 +94,6 @@ enum OptLevel {
     Aggressive // -O3
 }
 
-#[cfg(stage0)]
-impl OptLevel : cmp::Eq {
-    pure fn eq(&&other: OptLevel) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: OptLevel) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl OptLevel : cmp::Eq {
     pure fn eq(other: &OptLevel) -> bool {
         (self as uint) == ((*other) as uint)