aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-28 18:04:52 -0700
committerGraydon Hoare <[email protected]>2011-03-28 18:07:29 -0700
commit540d29f6417c5008d987f874696670ebb3ef8d27 (patch)
treefb5469533084454044b768752e43a436f7af9112 /src/test
parentrustc: Parse types in external metadata (diff)
downloadrust-540d29f6417c5008d987f874696670ebb3ef8d27.tar.xz
rust-540d29f6417c5008d987f874696670ebb3ef8d27.zip
Move all allocas to dedicated basic block at top of function, to keep frames finite. Un-comment next size in nbody.rs.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/bench/shootout/nbody.rs13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/test/bench/shootout/nbody.rs b/src/test/bench/shootout/nbody.rs
index 39c01ee7..f6f14f97 100644
--- a/src/test/bench/shootout/nbody.rs
+++ b/src/test/bench/shootout/nbody.rs
@@ -9,11 +9,14 @@ native "llvm" mod llvm {
fn main() {
let vec[int] inputs = vec(
- 50000
- //these segfault :(
- //500000,
- //5000000,
- //50000000
+ 50000,
+ 500000
+ //
+ // Leave these commented out to
+ // finish in a reasonable time
+ // during 'make check' under valgrind
+ // 5000000
+ // 50000000
);
let vec[Body.props] bodies = NBodySystem.MakeNBodySystem();