From 8179e268efd86ae5c1bcf21b4f8d4e01eea7c193 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 28 Nov 2012 12:33:00 -0800 Subject: Register snapshots --- src/libfuzzer/fuzzer.rc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/libfuzzer') diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc index 805e7b7d823..d8f4fd97c66 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -34,16 +34,6 @@ use syntax::diagnostic; enum test_mode { tm_converge, tm_run, } type context = { mode: test_mode }; // + rng -#[cfg(stage0)] -impl test_mode : cmp::Eq { - pure fn eq(other: &test_mode) -> bool { - (self as uint) == ((*other) as uint) - } - pure fn ne(other: &test_mode) -> bool { !self.eq(other) } -} - -#[cfg(stage1)] -#[cfg(stage2)] impl test_mode : cmp::Eq { pure fn eq(&self, other: &test_mode) -> bool { ((*self) as uint) == ((*other) as uint) -- cgit 1.4.1-3-g733a5