aboutsummaryrefslogtreecommitdiff
path: root/src/vm_x64.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2023-11-12 15:11:29 +0100
committerMike Pall <mike>2023-11-12 15:11:29 +0100
commit7c9671a043468b27c02301b6261a9e2a8eff787f (patch)
tree0b9d99bcc7b4319a5d9274c7b320a7e07a7dbdb2 /src/vm_x64.dasc
parent69bbbf77363ceb00ad2653a7729a5c9e8316e61f (diff)
parenta4c1640432a9d8a60624cdc8065b15078c228e36 (diff)
downloadluajit-7c9671a043468b27c02301b6261a9e2a8eff787f.tar.gz
luajit-7c9671a043468b27c02301b6261a9e2a8eff787f.tar.bz2
luajit-7c9671a043468b27c02301b6261a9e2a8eff787f.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'src/vm_x64.dasc')
-rw-r--r--src/vm_x64.dasc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc
index 3635ba28..8c46ea59 100644
--- a/src/vm_x64.dasc
+++ b/src/vm_x64.dasc
@@ -1463,6 +1463,9 @@ static void build_subroutines(BuildCtx *ctx)
1463 |//-- Base library: catch errors ---------------------------------------- 1463 |//-- Base library: catch errors ----------------------------------------
1464 | 1464 |
1465 |.ffunc_1 pcall 1465 |.ffunc_1 pcall
1466 | mov L:RB, SAVE_L
1467 | lea RA, [BASE+NARGS:RD*8]
1468 | cmp RA, L:RB->maxstack; ja ->fff_fallback
1466 | lea RA, [BASE+16] 1469 | lea RA, [BASE+16]
1467 | sub NARGS:RDd, 1 1470 | sub NARGS:RDd, 1
1468 | mov PCd, 16+FRAME_PCALL 1471 | mov PCd, 16+FRAME_PCALL
@@ -1481,6 +1484,9 @@ static void build_subroutines(BuildCtx *ctx)
1481 | jmp ->vm_call_dispatch 1484 | jmp ->vm_call_dispatch
1482 | 1485 |
1483 |.ffunc_2 xpcall 1486 |.ffunc_2 xpcall
1487 | mov L:RB, SAVE_L
1488 | lea RA, [BASE+NARGS:RD*8]
1489 | cmp RA, L:RB->maxstack; ja ->fff_fallback
1484 | mov LFUNC:RA, [BASE+8] 1490 | mov LFUNC:RA, [BASE+8]
1485 | checktp_nc LFUNC:RA, LJ_TFUNC, ->fff_fallback 1491 | checktp_nc LFUNC:RA, LJ_TFUNC, ->fff_fallback
1486 | mov LFUNC:RB, [BASE] // Swap function and traceback. 1492 | mov LFUNC:RB, [BASE] // Swap function and traceback.