aboutsummaryrefslogtreecommitdiff
path: root/src/vm_x86.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_x86.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_x86.dasc')
-rw-r--r--src/vm_x86.dasc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc
index 85d9d5fe..9c5ae384 100644
--- a/src/vm_x86.dasc
+++ b/src/vm_x86.dasc
@@ -1793,6 +1793,9 @@ static void build_subroutines(BuildCtx *ctx)
1793 |//-- Base library: catch errors ---------------------------------------- 1793 |//-- Base library: catch errors ----------------------------------------
1794 | 1794 |
1795 |.ffunc_1 pcall 1795 |.ffunc_1 pcall
1796 | mov L:RB, SAVE_L
1797 | lea RA, [BASE+NARGS:RD*8]
1798 | cmp RA, L:RB->maxstack; ja ->fff_fallback
1796 | lea RA, [BASE+8] 1799 | lea RA, [BASE+8]
1797 | sub NARGS:RD, 1 1800 | sub NARGS:RD, 1
1798 | mov PC, 8+FRAME_PCALL 1801 | mov PC, 8+FRAME_PCALL
@@ -1804,6 +1807,9 @@ static void build_subroutines(BuildCtx *ctx)
1804 | jmp ->vm_call_dispatch 1807 | jmp ->vm_call_dispatch
1805 | 1808 |
1806 |.ffunc_2 xpcall 1809 |.ffunc_2 xpcall
1810 | mov L:RB, SAVE_L
1811 | lea RA, [BASE+NARGS:RD*8]
1812 | cmp RA, L:RB->maxstack; ja ->fff_fallback
1807 | cmp dword [BASE+12], LJ_TFUNC; jne ->fff_fallback 1813 | cmp dword [BASE+12], LJ_TFUNC; jne ->fff_fallback
1808 | mov RB, [BASE+4] // Swap function and traceback. 1814 | mov RB, [BASE+4] // Swap function and traceback.
1809 | mov [BASE+12], RB 1815 | mov [BASE+12], RB