fixing instruction tests

This commit is contained in:
2020-03-08 17:31:16 +02:00
parent 22d513d895
commit e6729b8b60
8 changed files with 37 additions and 37 deletions

View File

@ -25,7 +25,7 @@ module SlotMachine
# return_address of the next_message, for the ReturnSequence to pick it up.
def to_risc(compiler)
method = @method
return_label = Risc.label(self,"continue_#{object_id}")
return_label = Risc.label(self,"after_#{@method.name}_#{object_id}")
return_address = compiler.load_object( return_label )
compiler.build(self.to_s) do
message[:next_message][:return_address] << return_address