return just gets the register (no more offset)
use mov instead
This commit is contained in:
parent
ad3e73d931
commit
8cee2db1d1
@ -72,7 +72,7 @@ module Arm
|
|||||||
end
|
end
|
||||||
|
|
||||||
def translate_FunctionReturn code
|
def translate_FunctionReturn code
|
||||||
ArmMachine.ldr( :pc , code.register , arm_index(code) )
|
ArmMachine.mov( :pc , code.register)
|
||||||
end
|
end
|
||||||
|
|
||||||
def translate_LoadConstant code
|
def translate_LoadConstant code
|
||||||
|
Loading…
Reference in New Issue
Block a user