mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 17:24:09 +00:00
Fix frame setup for error handling in next().
This commit is contained in:
parent
cdc37a33b3
commit
9f6707ddbb
1088
src/buildvm_x64.h
1088
src/buildvm_x64.h
File diff suppressed because it is too large
Load Diff
1980
src/buildvm_x64win.h
1980
src/buildvm_x64win.h
File diff suppressed because it is too large
Load Diff
@ -1432,6 +1432,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
|
|||||||
| cmp dword [BASE+4], LJ_TTAB; jne ->fff_fallback
|
| cmp dword [BASE+4], LJ_TTAB; jne ->fff_fallback
|
||||||
| mov L:RB, SAVE_L
|
| mov L:RB, SAVE_L
|
||||||
| mov L:RB->base, BASE // Add frame since C call can throw.
|
| mov L:RB->base, BASE // Add frame since C call can throw.
|
||||||
|
| mov L:RB->top, BASE // Dummy frame length is ok.
|
||||||
| mov PC, [BASE-4]
|
| mov PC, [BASE-4]
|
||||||
|.if X64WIN
|
|.if X64WIN
|
||||||
| lea CARG3d, [BASE+8]
|
| lea CARG3d, [BASE+8]
|
||||||
|
2185
src/buildvm_x86.h
2185
src/buildvm_x86.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user