diff options
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 4e4ccc49..e09c37e9 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -409,7 +409,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
409 | | mov PROTO:RB, LFUNC:RB->pt | 409 | | mov PROTO:RB, LFUNC:RB->pt |
410 | | mov [BASE-4], PC // Store caller PC. | 410 | | mov [BASE-4], PC // Store caller PC. |
411 | | movzx RA, byte PROTO:RB->framesize | 411 | | movzx RA, byte PROTO:RB->framesize |
412 | | mov PC, PROTO:RB->bc | 412 | | lea PC, [PROTO:RB+sizeof(GCproto)] |
413 | | mov KBASE, PROTO:RB->k | 413 | | mov KBASE, PROTO:RB->k |
414 | | mov L:RB, SAVE_L | 414 | | mov L:RB, SAVE_L |
415 | | lea RA, [BASE+RA*8] // Top of frame. | 415 | | lea RA, [BASE+RA*8] // Top of frame. |
@@ -462,7 +462,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
462 | | jnz <1 | 462 | | jnz <1 |
463 | |2: | 463 | |2: |
464 | | movzx RA, byte PROTO:RB->framesize | 464 | | movzx RA, byte PROTO:RB->framesize |
465 | | mov PC, PROTO:RB->bc | 465 | | lea PC, [PROTO:RB+sizeof(GCproto)] |
466 | | mov KBASE, PROTO:RB->k | 466 | | mov KBASE, PROTO:RB->k |
467 | | lea RA, [BASE+RA*8] | 467 | | lea RA, [BASE+RA*8] |
468 | | jmp <9 | 468 | | jmp <9 |
@@ -666,7 +666,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
666 | | sub RC, 8 | 666 | | sub RC, 8 |
667 | | mov BASE, RA | 667 | | mov BASE, RA |
668 | | mov RA, KBASE | 668 | | mov RA, KBASE |
669 | | mov PC, PROTO:RB->bc | 669 | | lea PC, [PROTO:RB+sizeof(GCproto)] |
670 | | mov L:RB, SAVE_L | 670 | | mov L:RB, SAVE_L |
671 | | | 671 | | |
672 | |->gate_lf_growstack: // Grow stack for fixarg Lua function. | 672 | |->gate_lf_growstack: // Grow stack for fixarg Lua function. |