large test changes due to change in cc
calling convention does affect less than before, but still a LOT
This commit is contained in:
@ -12,14 +12,14 @@ module Risc
|
||||
def test_while
|
||||
#show_main_ticks # get output of what is in main
|
||||
check_main_chain [LoadConstant, SlotToReg, RegToSlot, SlotToReg, SlotToReg,
|
||||
LoadConstant, OperatorInstruction, IsZero, LoadConstant, OperatorInstruction,
|
||||
IsZero, LoadConstant, SlotToReg, Branch, RegToSlot,
|
||||
Branch, SlotToReg, SlotToReg, LoadConstant, OperatorInstruction,
|
||||
IsZero, SlotToReg, SlotToReg, RegToSlot, Branch,
|
||||
SlotToReg, SlotToReg, RegToSlot, LoadConstant, SlotToReg,
|
||||
RegToSlot, RegToSlot, Branch, SlotToReg, SlotToReg,
|
||||
SlotToReg, FunctionReturn, Transfer, SlotToReg, SlotToReg,
|
||||
Branch, Syscall, NilClass]
|
||||
LoadConstant, OperatorInstruction, IsZero, LoadConstant, OperatorInstruction, # 10
|
||||
IsZero, LoadConstant, SlotToReg, Branch, RegToSlot,
|
||||
Branch, SlotToReg, SlotToReg, LoadConstant, OperatorInstruction, # 20
|
||||
IsZero, SlotToReg, SlotToReg, RegToSlot, Branch,
|
||||
SlotToReg, SlotToReg, RegToSlot, LoadConstant, SlotToReg, # 30
|
||||
RegToSlot, RegToSlot, Branch, SlotToReg, SlotToReg,
|
||||
SlotToReg, FunctionReturn, Transfer, SlotToReg, SlotToReg, # 40
|
||||
Syscall, NilClass, ]
|
||||
assert_kind_of Parfait::NilClass , get_return
|
||||
end
|
||||
def test_load_false_const
|
||||
@ -56,7 +56,7 @@ module Risc
|
||||
assert check.label.name.start_with?("merge_label") , check.label.name
|
||||
end
|
||||
def test_exit
|
||||
done = main_ticks(42)
|
||||
done = main_ticks(41)
|
||||
assert_equal Syscall , done.class
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user