From 4d9e8e245a96b2ef30c9ec34ab1c98bca3dcccb8 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 5 Jan 2015 00:05:38 +0100 Subject: [PATCH] ARM: Minor interpreter optimization. --- src/vm_arm.dasc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vm_arm.dasc b/src/vm_arm.dasc index 2d600d22..62579eab 100644 --- a/src/vm_arm.dasc +++ b/src/vm_arm.dasc @@ -539,9 +539,8 @@ static void build_subroutines(BuildCtx *ctx) |1: | beq ->cont_ffi_callback // cont = 1: return from FFI callback. | // 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 |.endif | -- 2.11.4.GIT