rust/tests/compile-fail
Scott Olson 6c463b7562 Hold an Lvalue for the return pointer in a frame.
Previously ReturnPointer was just the first slot in the locals array,
which had type `Vec<Pointer>`. But after my recent refactoring, locals
is `Vec<Value>` and it became increasingly hacky to pull a pointer out
of the first slot to be the value. Besides, that hack wouldn't allow
ReturnPointer to ever be an `Lvalue::Local`, referring directly to a
local on a higher stack frame.

Now ReturnPointer has no presence in the locals array, instead being
upgraded to its own field on `Frame`.

This introduces a couple of new hacks, detailed by some of my FIXME
comments, so that I could get the tests passing again and commit. More
commits coming soon should clean up these hacks without much trouble,
and overall I feel that the code is converging on a cleaner, more
efficient design.
2016-10-15 19:48:30 -06:00
..
2016-07-06 11:19:24 +02:00
2016-09-13 13:08:57 +02:00
2016-06-23 09:36:37 +02:00
2016-09-22 15:47:16 +02:00
2016-09-27 17:02:04 +02:00
2016-09-22 15:47:16 +02:00
2016-09-22 15:47:16 +02:00