diff options
Diffstat (limited to 'sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p')
-rw-r--r-- | sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p index 9236477..2d7ddb0 100644 --- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p +++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p @@ -55,12 +55,13 @@ " add sp, sp, #(4*7 + 4*4)" "\n" " mov r0, #0" "\n" " pop {r4-r11,pc}" "\n" -@@ -551,7 +551,7 @@ +@@ -551,7 +551,8 @@ * The arguments are identical to those for js_* except that the target function should be in * 'ip'. */ " push {ip,lr}" "\n" -" blx ip" "\n" -+" bl ip" "\n" ++" mov lr, pc" "\n" ++" mov pc, ip" "\n" " pop {ip,pc}" "\n" ); |