fix all uses of operators now they are ssa

This commit is contained in:
2020-03-14 12:47:29 +02:00
parent 0cde7c1d0a
commit 4db71c1c03
13 changed files with 49 additions and 47 deletions

View File

@ -52,11 +52,11 @@ module Risc
end
def test_operator
ret = @r0.op :<< , @r1
assert_operator ret , :<< , :message , "id_"
assert_operator ret , :<< , :message , "id_" , "op_<<_"
end
def test_operator_slot
ret = @r0.op :<< , @r1[:type]
assert_operator ret , :<< , :message , "id_.type"
assert_operator ret , :<< , :message , "id_.type" , "op_<<_"
end
def test_byte_to_reg
instr = @r0 <= @r1[@r0]