Fix interpreter and resolve method
Interpreter was not handling ssa correctly (ie overwriting) Resolve was assuming wrong registers (also non ssa) return value still broken
This commit is contained in:
@ -57,7 +57,9 @@ module SlotMachine
|
||||
|
||||
if_zero ok_label
|
||||
|
||||
callable_method = callable_method[:next_callable].to_reg
|
||||
next_method = callable_method[:next_callable].to_reg
|
||||
callable_method << next_method
|
||||
|
||||
branch while_start_label
|
||||
|
||||
add_code exit_label
|
||||
|
Reference in New Issue
Block a user