return just gets the register (no more offset)

use mov instead
This commit is contained in:
Torsten Ruger 2018-03-24 18:32:53 +02:00
parent ad3e73d931
commit 8cee2db1d1

View File

@ -72,7 +72,7 @@ module Arm
end
def translate_FunctionReturn code
ArmMachine.ldr( :pc , code.register , arm_index(code) )
ArmMachine.mov( :pc , code.register)
end
def translate_LoadConstant code