did return sequence

surprisingly easy. also some check polish
This commit is contained in:
2020-03-03 16:09:41 +02:00
parent fd43fc9e5c
commit a4c0b8e5f9
7 changed files with 65 additions and 26 deletions

View File

@ -21,7 +21,7 @@ module SlotMachine
def to_risc(compiler)
false_label = @false_label.risc_label(compiler)
condition_reg = @condition.to_register(compiler,self)
compiler.build(self.to_s) do
object = load_object Parfait.object_space.false_object
object.op :- , condition_reg