rust/src/test/bench
Niko Matsakis 0682ad0eb9 Finalize moves-based-on-type implementation.
Changes:

- Refactor move mode computation
- Removes move mode arguments, unary move, capture clauses
  (though they still parse for backwards compatibility)
- Simplify how moves are handled in trans
- Fix a number of illegal copies that cropped up
- Workaround for bug involving def-ids in params
  (see details below)

Future work (I'll open bugs for these...):

- Improve error messages for moves that are due
  to bindings
- Add support for moving owned content like a.b.c
  to borrow check, test in trans (but I think it'll
  "just work")
- Proper fix for def-ids in params

Def ids in params:

Move captures into a map instead of recomputing.

This is a workaround for a larger bug having to do with the def-ids associated
with ty_params, which are not always properly preserved when inlining.  I am
not sure of my preferred fix for the larger bug yet.  This current fix removes
the only code in trans that I know of which relies on ty_param def-ids, but
feels fragile.
2013-01-31 12:09:00 -08:00
..
core-map.rs fix core-map.rs benchmark 2013-01-23 19:51:49 -05:00
core-std.rs core: add macro_rules! for "condition! { c: in -> out; }". 2012-12-18 17:22:27 -08:00
core-uint-to-str.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
core-vec-append.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
graph500-bfs.rs Finalize moves-based-on-type implementation. 2013-01-31 12:09:00 -08:00
msgsend-pipes-shared.rs Reverse the order of the results of pipes::stream 2012-12-11 19:23:28 -08:00
msgsend-pipes.rs Reverse the order of the results of pipes::stream 2012-12-11 19:23:28 -08:00
msgsend-ring-mutex-arcs.rs libstd: refactor future, remove with(), remove ~ indirection. 2012-12-11 15:56:47 -08:00
msgsend-ring-pipes.rs libstd: refactor future, remove with(), remove ~ indirection. 2012-12-11 15:56:47 -08:00
msgsend-ring-rw-arcs.rs libstd: refactor future, remove with(), remove ~ indirection. 2012-12-11 15:56:47 -08:00
noise.rs libcore: Use LLVM intrinsics for floor; add a new Perlin noise benchmark. r=brson 2013-01-23 11:37:32 -08:00
pingpong.rs testsuite: Allow structural records in two tests that use pipes 2013-01-28 19:41:56 -08:00
shootout-ackermann.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
shootout-binarytrees.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
shootout-chameneos-redux.rs Remove oldcomm from the test suite 2013-01-30 00:48:10 -08:00
shootout-fannkuchredux.rs core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut 2013-01-23 10:09:45 +00:00
shootout-fasta.rs testsuite: De-record most bench tests 2013-01-28 19:41:56 -08:00
shootout-fibo.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
shootout-k-nucleotide-pipes.rs Remove oldcomm from the test suite 2013-01-30 00:48:10 -08:00
shootout-k-nucleotide.data bench: Modify shootout-k-nucleotide to not read from the filesystem 2012-06-09 13:57:18 -07:00
shootout-mandelbrot.rs use newtype struct for devnull rather than type aliased record 2013-01-02 15:35:32 -08:00
shootout-nbody.rs test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting 2013-01-30 15:08:45 -08:00
shootout-pfib.rs Remove oldcomm from the test suite 2013-01-30 00:48:10 -08:00
shootout-spectralnorm.rs core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut 2013-01-23 10:09:45 +00:00
std-smallintmap.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
sudoku.rs test: De-export sudoku. rs=burningtree 2013-01-30 21:46:47 -08:00
task-perf-alloc-unwind.rs testsuite: De-record most bench tests 2013-01-28 19:41:56 -08:00
task-perf-jargon-metal-smoke.rs Reverse the order of the results of pipes::stream 2012-12-11 19:23:28 -08:00
task-perf-linked-failure.rs Remove oldcomm from the test suite 2013-01-30 00:48:10 -08:00
task-perf-one-million.rs Remove oldcomm from the test suite 2013-01-30 00:48:10 -08:00
task-perf-spawnalot.rs Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00