repurpose RValue as RegisterSlot

with the idea of the better name came also the one about not needing the builder anymore
This commit is contained in:
2020-03-01 10:22:24 +02:00
parent 088017bc05
commit 95f3eec043
9 changed files with 143 additions and 47 deletions

View File

@ -30,7 +30,7 @@ module Risc
assert_raises{ @builder.caller_reg! }
end
def test_define_conditionally_first
assert_equal :r1 , @builder.caller_reg?.symbol
assert_equal :caller_reg , @builder.caller_reg?.symbol
end
def test_define_conditionally_again
first = @builder.caller_reg!