diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 329e5c95..71d9a881 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -359,6 +359,7 @@ static Reg ra_rematk(ASMState *as, IRRef ref) | |||
359 | static int32_t ra_spill(ASMState *as, IRIns *ir) | 359 | static int32_t ra_spill(ASMState *as, IRIns *ir) |
360 | { | 360 | { |
361 | int32_t slot = ir->s; | 361 | int32_t slot = ir->s; |
362 | lua_assert(ir >= as->ir + REF_TRUE); | ||
362 | if (!ra_hasspill(slot)) { | 363 | if (!ra_hasspill(slot)) { |
363 | if (irt_is64(ir->t)) { | 364 | if (irt_is64(ir->t)) { |
364 | slot = as->evenspill; | 365 | slot = as->evenspill; |