Skip to content

Commit dfbb52e

Browse files
committed
---
yaml --- r: 24065 b: refs/heads/master c: 38595e6 h: refs/heads/master i: 24063: fff145a v: v3
1 parent 8a512e2 commit dfbb52e

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7abf55736c979d6bdc5b421b1b0d526835625919
2+
refs/heads/master: 38595e66643c3dd47e6f6c8ca443a33398561f8f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/test/bench/shootout-mandelbrot.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ struct cmplx {
2323
im: f64
2424
}
2525

26-
#[cfg(stage0)]
27-
impl cmplx : ops::Mul<cmplx,cmplx> {
28-
pure fn mul(x: cmplx) -> cmplx {
29-
cmplx {
30-
re: self.re*x.re - self.im*x.im,
31-
im: self.re*x.im + self.im*x.re
32-
}
33-
}
34-
}
35-
#[cfg(stage1)]
36-
#[cfg(stage2)]
3726
impl cmplx : ops::Mul<cmplx,cmplx> {
3827
pure fn mul(x: &cmplx) -> cmplx {
3928
cmplx {
@@ -43,17 +32,6 @@ impl cmplx : ops::Mul<cmplx,cmplx> {
4332
}
4433
}
4534

46-
#[cfg(stage0)]
47-
impl cmplx : ops::Add<cmplx,cmplx> {
48-
pure fn add(x: cmplx) -> cmplx {
49-
cmplx {
50-
re: self.re + x.re,
51-
im: self.im + x.im
52-
}
53-
}
54-
}
55-
#[cfg(stage1)]
56-
#[cfg(stage2)]
5735
impl cmplx : ops::Add<cmplx,cmplx> {
5836
pure fn add(x: &cmplx) -> cmplx {
5937
cmplx {

0 commit comments

Comments
 (0)