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. |
||
|---|---|---|
| .. | ||
| compile-fail | ||
| run-pass | ||
| compiletest.rs | ||