Browse Source

ARM: Minor interpreter optimization.

Mike Pall 10 years ago
parent
commit
4d9e8e245a
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/vm_arm.dasc

+ 2 - 3
src/vm_arm.dasc

@@ -539,9 +539,8 @@ static void build_subroutines(BuildCtx *ctx)
   |1:
   |1:
   |  beq ->cont_ffi_callback		// cont = 1: return from FFI callback.
   |  beq ->cont_ffi_callback		// cont = 1: return from FFI callback.
   |  // cont = 0: tailcall from C function.
   |  // cont = 0: tailcall from C function.
-  |  ldr CARG3, [BASE, FRAME_FUNC]
-  |   sub CARG4, CARG4, #16
-  |   sub RC, CARG4, BASE
+  |  sub CARG4, CARG4, #16
+  |  sub RC, CARG4, BASE
   |  b ->vm_call_tail
   |  b ->vm_call_tail
   |.endif
   |.endif
   |
   |