fix many tests with preloading
preloading, something akin to builtin, loads some very small predefined (macro) methods for the tests to work (ie call)
This commit is contained in:
@ -6,7 +6,7 @@ module Risc
|
||||
|
||||
def setup
|
||||
super
|
||||
@input = "unless(@a) ; arg = 5 ; end;return"
|
||||
@input = "unless(@true_object) ; arg = 5 ; end;return"
|
||||
@expect = [SlotToReg, SlotToReg, LoadConstant, OperatorInstruction, IsZero, #4
|
||||
LoadConstant, OperatorInstruction, IsZero, Label, Branch, #9
|
||||
Label, LoadConstant, RegToSlot, Label, LoadConstant, #14
|
||||
|
Reference in New Issue
Block a user