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

@ -37,7 +37,7 @@ module Risc
end
def test_allocate_returns
int = @builder.allocate_int
assert_equal :r1 , int.symbol
assert_equal :integer_tmp , int.symbol
end
def test_allocate_len
int = @builder.allocate_int