diff options
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 6b2dc877..98998d83 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -530,6 +530,14 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
530 | | mov dword GL:RB->vmstate, ~LJ_VMST_C | 530 | | mov dword GL:RB->vmstate, ~LJ_VMST_C |
531 | | jmp ->vm_leave_unw | 531 | | jmp ->vm_leave_unw |
532 | | | 532 | | |
533 | |->vm_unwind_rethrow: | ||
534 | |.if X64 and not X64WIN | ||
535 | | mov FCARG1, SAVE_L | ||
536 | | mov FCARG2, eax | ||
537 | | restoreregs | ||
538 | | jmp extern lj_err_throw@8 // (lua_State *L, int errcode) | ||
539 | |.endif | ||
540 | | | ||
533 | |->vm_unwind_ff@4: // Unwind C stack, return from ff pcall. | 541 | |->vm_unwind_ff@4: // Unwind C stack, return from ff pcall. |
534 | | // (void *cframe) | 542 | | // (void *cframe) |
535 | |.if X64 | 543 | |.if X64 |