Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/luajit-rocks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'luajit-2.1/src/vm_arm64.dasc')
-rw-r--r--luajit-2.1/src/vm_arm64.dasc5
1 files changed, 3 insertions, 2 deletions
diff --git a/luajit-2.1/src/vm_arm64.dasc b/luajit-2.1/src/vm_arm64.dasc
index a31cbb3..f1251f2 100644
--- a/luajit-2.1/src/vm_arm64.dasc
+++ b/luajit-2.1/src/vm_arm64.dasc
@@ -853,10 +853,10 @@ static void build_subroutines(BuildCtx *ctx)
| str PC, SAVE_PC
| add CARG3, RA, NARGS8:RC
| bl extern lj_meta_call // (lua_State *L, TValue *func, TValue *top)
- | ldr LFUNC:CARG3, [RA, FRAME_FUNC] // Guaranteed to be a function here.
+ | ldr TMP1, [RA, FRAME_FUNC] // Guaranteed to be a function here.
| ldr PC, [BASE, FRAME_PC]
| add NARGS8:RC, NARGS8:RC, #8 // Got one more argument now.
- | and LFUNC:CARG3, CARG3, #LJ_GCVMASK
+ | and LFUNC:CARG3, TMP1, #LJ_GCVMASK
| b ->BC_CALLT2_Z
|
|//-- Argument coercion for 'for' statement ------------------------------
@@ -1309,6 +1309,7 @@ static void build_subroutines(BuildCtx *ctx)
| blo ->fff_fallback
| cmp TISNUMhi, CARG1, lsr #32
| beq ->fff_restv
+ | blo ->fff_fallback
| round d0, d0
| b ->fff_resn
|.endmacro