diff options
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 493820b6..f293cd23 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -650,7 +650,6 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
650 | | mov RA, INARG_BASE // Caveat: overlaps SAVE_CFRAME! | 650 | | mov RA, INARG_BASE // Caveat: overlaps SAVE_CFRAME! |
651 | |.endif | 651 | |.endif |
652 | | | 652 | | |
653 | |2: // Entry point for vm_cpcall below (RA = base, RB = L, PC = ftype). | ||
654 | | mov KBASEa, L:RB->cframe // Add our C frame to cframe chain. | 653 | | mov KBASEa, L:RB->cframe // Add our C frame to cframe chain. |
655 | | mov SAVE_CFRAME, KBASEa | 654 | | mov SAVE_CFRAME, KBASEa |
656 | | mov SAVE_PC, L:RB // Any value outside of bytecode is ok. | 655 | | mov SAVE_PC, L:RB // Any value outside of bytecode is ok. |
@@ -660,6 +659,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
660 | | mov L:RB->cframe, esp | 659 | | mov L:RB->cframe, esp |
661 | |.endif | 660 | |.endif |
662 | | | 661 | | |
662 | |2: // Entry point for vm_cpcall below (RA = base, RB = L, PC = ftype). | ||
663 | | mov DISPATCH, L:RB->glref // Setup pointer to dispatch table. | 663 | | mov DISPATCH, L:RB->glref // Setup pointer to dispatch table. |
664 | | add DISPATCH, GG_G2DISP | 664 | | add DISPATCH, GG_G2DISP |
665 | | | 665 | | |