about summary refs log tree commit diff
path: root/src/test/bench
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-09-20 14:33:45 -0700
committerNiko Matsakis <niko@alum.mit.edu>2012-09-20 14:34:22 -0700
commit38595e66643c3dd47e6f6c8ca443a33398561f8f (patch)
tree8b8b4cff41828a3c939887937bba1e7b7712f7ae /src/test/bench
parent7abf55736c979d6bdc5b421b1b0d526835625919 (diff)
downloadrust-38595e66643c3dd47e6f6c8ca443a33398561f8f.tar.gz
rust-38595e66643c3dd47e6f6c8ca443a33398561f8f.zip
remove cfg(stage0) version of Eq, not needed for tests
Diffstat (limited to 'src/test/bench')
-rw-r--r--src/test/bench/shootout-mandelbrot.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/bench/shootout-mandelbrot.rs b/src/test/bench/shootout-mandelbrot.rs
index b0a4b6469d8..3ec4610babb 100644
--- a/src/test/bench/shootout-mandelbrot.rs
+++ b/src/test/bench/shootout-mandelbrot.rs
@@ -23,17 +23,6 @@ struct cmplx {
     im: f64
 }
 
-#[cfg(stage0)]
-impl cmplx : ops::Mul<cmplx,cmplx> {
-    pure fn mul(x: cmplx) -> cmplx {
-        cmplx {
-            re: self.re*x.re - self.im*x.im,
-            im: self.re*x.im + self.im*x.re
-        }
-    }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl cmplx : ops::Mul<cmplx,cmplx> {
     pure fn mul(x: &cmplx) -> cmplx {
         cmplx {
@@ -43,17 +32,6 @@ impl cmplx : ops::Mul<cmplx,cmplx> {
     }
 }
 
-#[cfg(stage0)]
-impl cmplx : ops::Add<cmplx,cmplx> {
-    pure fn add(x: cmplx) -> cmplx {
-        cmplx {
-            re: self.re + x.re,
-            im: self.im + x.im
-        }
-    }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl cmplx : ops::Add<cmplx,cmplx> {
     pure fn add(x: &cmplx) -> cmplx {
         cmplx {