diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
| commit | 8179e268efd86ae5c1bcf21b4f8d4e01eea7c193 (patch) | |
| tree | 7e3fd944a844a195a0ed1bed8717db07a2d8ccc8 /src/librustc/back | |
| parent | be6613e048c889a0aeaff056131c2406259f1fb4 (diff) | |
| download | rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.tar.gz rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.zip | |
Register snapshots
Diffstat (limited to 'src/librustc/back')
| -rw-r--r-- | src/librustc/back/link.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs index a33ca6f8f39..36cbdf8c664 100644 --- a/src/librustc/back/link.rs +++ b/src/librustc/back/link.rs @@ -27,19 +27,9 @@ enum output_type { } impl output_type : cmp::Eq { - #[cfg(stage0)] - pure fn eq(other: &output_type) -> bool { - (self as uint) == ((*other) as uint) - } - #[cfg(stage1)] - #[cfg(stage2)] pure fn eq(&self, other: &output_type) -> bool { ((*self) as uint) == ((*other) as uint) } - #[cfg(stage0)] - pure fn ne(other: &output_type) -> bool { !self.eq(other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn ne(&self, other: &output_type) -> bool { !(*self).eq(other) } } |
