fix all tests accordingly to new return
This commit is contained in:
@ -12,7 +12,8 @@ module Risc
|
||||
[ Label ]
|
||||
end
|
||||
def postamble
|
||||
[ Label ]
|
||||
[Label, SlotToReg, SlotToReg, RegToSlot, SlotToReg,
|
||||
SlotToReg, SlotToReg, FunctionReturn, Label]
|
||||
end
|
||||
# test hack to in place change object type
|
||||
def add_space_field(name,type)
|
||||
@ -35,7 +36,7 @@ module Risc
|
||||
end
|
||||
def check_nil
|
||||
produced = produce_instructions
|
||||
compare_instructions produced , @expect
|
||||
compare_instructions( produced , @expect)
|
||||
end
|
||||
def check_return
|
||||
was = check_nil
|
||||
|
Reference in New Issue
Block a user