remove the :int shorthand

This commit is contained in:
Torsten Ruger
2018-03-31 19:17:55 +03:00
parent 696886cc94
commit a2173645b3
6 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@ module Mom
# For returning, we add a label after the call, and load it's address into the
# return_address of the next_message, for the ReturnSequence to pick it up.
def to_risc(compiler)
jump_address = compiler.use_reg(:int)
jump_address = compiler.use_reg(:Object)
return_label = Risc::Label.new(self,"continue_#{object_id}")
save_return = SlotLoad.new([:message,:next_message,:return_address],[return_label],self)
moves = save_return.to_risc(compiler)