diff options
| author | Mike Pall <mike> | 2017-03-21 10:10:20 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2017-03-21 10:10:20 +0100 |
| commit | 78f5f1cef19502289604299e4e6d00e14411f764 (patch) | |
| tree | 0ffb0399fd0a4b7383ce9b5366007573aca4b0d7 | |
| parent | 024ade796fab2aaac61df9742073eb48b79364be (diff) | |
| download | luajit-78f5f1cef19502289604299e4e6d00e14411f764.tar.gz luajit-78f5f1cef19502289604299e4e6d00e14411f764.tar.bz2 luajit-78f5f1cef19502289604299e4e6d00e14411f764.zip | |
x64/LJ_GC64: Fix emit_loadk64().
Contributed by Peter Cawley.
| -rw-r--r-- | src/lj_emit_x86.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_emit_x86.h b/src/lj_emit_x86.h index a6b8713e..5207f9da 100644 --- a/src/lj_emit_x86.h +++ b/src/lj_emit_x86.h | |||
| @@ -392,6 +392,7 @@ static void emit_loadk64(ASMState *as, Reg r, IRIns *ir) | |||
| 392 | ir->i = (int32_t)(as->mctop - as->mcbot); | 392 | ir->i = (int32_t)(as->mctop - as->mcbot); |
| 393 | as->mcbot += 8; | 393 | as->mcbot += 8; |
| 394 | as->mclim = as->mcbot + MCLIM_REDZONE; | 394 | as->mclim = as->mcbot + MCLIM_REDZONE; |
| 395 | lj_mcode_commitbot(as->J, as->mcbot); | ||
| 395 | } | 396 | } |
| 396 | emit_rmro(as, xo, r64, RID_RIP, (int32_t)mcpofs(as, as->mctop - ir->i)); | 397 | emit_rmro(as, xo, r64, RID_RIP, (int32_t)mcpofs(as, as->mctop - ir->i)); |
| 397 | #else | 398 | #else |
