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:
@ -5,8 +5,7 @@ module Risc
|
||||
include Statements
|
||||
|
||||
def setup
|
||||
super
|
||||
@input = "if(@a) ; arg = 5 ; else; arg = 6; end;return"
|
||||
@input = "if(@true_object) ; arg = 5 ; else; arg = 6; end;return"
|
||||
@expect = [SlotToReg, SlotToReg, LoadConstant, OperatorInstruction, IsZero, #4
|
||||
LoadConstant, OperatorInstruction, IsZero, Label, LoadConstant, #9
|
||||
RegToSlot, Branch, Label, LoadConstant, RegToSlot, #14
|
||||
|
Reference in New Issue
Block a user