From 38595e66643c3dd47e6f6c8ca443a33398561f8f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 20 Sep 2012 14:33:45 -0700 Subject: [PATCH] remove cfg(stage0) version of Eq, not needed for tests --- src/test/bench/shootout-mandelbrot.rs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/test/bench/shootout-mandelbrot.rs b/src/test/bench/shootout-mandelbrot.rs index b0a4b6469d8d..3ec4610babba 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 { - 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 { pure fn mul(x: &cmplx) -> cmplx { cmplx { @@ -43,17 +32,6 @@ impl cmplx : ops::Mul { } } -#[cfg(stage0)] -impl cmplx : ops::Add { - 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 { pure fn add(x: &cmplx) -> cmplx { cmplx {