rust/tests/run-pass
Scott Olson 5f65ee2713 Refactor in preparation for Value locals.
Turning locals into `Vec<Value>` will allow writing `PrimVal` results
directly into the locals array without creating `memory::Allocation`s
for every local.

This will entail passing around a generalized kind of `Lvalue` instead
of `Pointer`s for the destinations of operations. Replacing `Pointer`
with `Lvalue` is mostly done with this commit, but expanding `Lvalue`
will come later.

This commit turns every local from `Pointer` into `Value::ByRef(ptr)`.
Locals which are `Value::ByVal(prim_val)` will come in a later commit.
2016-10-14 03:31:45 -06:00
..
arrays.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
bools.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
c_enums.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
calls.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
cast_fn_ptr_unsafe.rs implement fn -> unsafe fn pointer casts 2016-06-17 16:49:06 +02:00
cast-rfc0401-vtable-kinds.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
char.rs implement char handling 2016-06-21 09:35:20 +02:00
closures.rs fix calling Fn closures as FnOnce closures 2016-09-20 18:31:55 +02:00
constants.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
deriving-associated-types.rs fix enum variants with multiple fields 2016-09-30 10:45:52 +02:00
dst-irrefutable-bind.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
dst-raw.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
dst-struct-sole.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
dst-struct.rs refactor away get_fat_ptr 2016-09-23 15:48:23 +02:00
enums.rs fix enum variants with multiple fields 2016-09-30 10:45:52 +02:00
floats.rs use byteorder's write_f{32,64} instead of transmuting 2016-07-06 11:51:32 +02:00
function_pointers.rs only split the Fn* arguments in case of closures and function pointers 2016-09-21 15:57:13 +02:00
heap.rs Fix tests broken by std::vec::SetLenOnDrop. 2016-09-13 20:14:07 -06:00
intrinsics-integer.rs fix intrinsics and implement more of them 2016-09-29 15:58:26 +02:00
intrinsics.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
ints.rs remove code repetition and fix overflowing intrinsics 2016-06-17 15:16:41 +02:00
issue-15080.rs implement slice patterns 2016-09-28 18:22:09 +02:00
issue-17877.rs implement slice patterns 2016-09-28 18:22:09 +02:00
issue-23261.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
issue-33387.rs implement Arc<T> -> Arc<Trait> unsizing 2016-09-27 18:01:33 +02:00
issue-36278-prefix-nesting.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
loops.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
main_fn.rs run start and main language item if provided 2016-06-14 11:52:45 +02:00
match_slice.rs fix matching on chars 2016-09-27 11:10:25 +02:00
mir_fat_ptr.rs fully implement size_of_val and add various tests that now succeed 2016-09-22 13:00:43 +02:00
option_box_transmute_ptr.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
option_eq.rs option_eq test passes now since casts are implemented. 2016-09-19 02:16:51 -06:00
overloaded-calls-simple.rs only split the Fn* arguments in case of closures and function pointers 2016-09-21 15:57:13 +02:00
pointers.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
products.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
rust-lang-org.rs fix matching on chars 2016-09-27 11:10:25 +02:00
specialization.rs fix master 2016-06-20 12:33:54 +02:00
static_memory_modification.rs only allow the modification of static mut or statics with interior mutability 2016-09-11 11:02:45 +02:00
std.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
strings.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
sums.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
traits.rs enable A<Struct> -> A<Trait> downcasting 2016-09-21 18:00:04 +02:00
trivial.rs Remove now-useless #[miri_run] attributes. 2016-06-17 22:52:30 -06:00
try-operator-custom.rs fix miri backtrace panic 2016-09-20 12:51:48 +02:00
vec-matching-fold.rs implement slice patterns 2016-09-28 18:22:09 +02:00
vecs.rs Fix tests broken by std::vec::SetLenOnDrop. 2016-09-13 20:14:07 -06:00
zst.rs refactor away IntegerPtr 2016-09-22 15:47:16 +02:00