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 264649ae..2afa92d0 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -353,6 +353,7 @@ static Reg ra_rematk(ASMState *as, IRRef ref) | |||
353 | static int32_t ra_spill(ASMState *as, IRIns *ir) | 353 | static int32_t ra_spill(ASMState *as, IRIns *ir) |
354 | { | 354 | { |
355 | int32_t slot = ir->s; | 355 | int32_t slot = ir->s; |
356 | lua_assert(ir >= as->ir + REF_TRUE); | ||
356 | if (!ra_hasspill(slot)) { | 357 | if (!ra_hasspill(slot)) { |
357 | if (irt_is64(ir->t)) { | 358 | if (irt_is64(ir->t)) { |
358 | slot = as->evenspill; | 359 | slot = as->evenspill; |