diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 932ff8ea..204d332e 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -464,7 +464,7 @@ static void ra_evictk(ASMState *as) | |||
464 | while (work) { | 464 | while (work) { |
465 | Reg r = rset_pickbot(work); | 465 | Reg r = rset_pickbot(work); |
466 | IRRef ref = regcost_ref(as->cost[r]); | 466 | IRRef ref = regcost_ref(as->cost[r]); |
467 | if (irref_isk(ref)) { | 467 | if (emit_canremat(ref) && irref_isk(ref)) { |
468 | ra_rematk(as, ref); | 468 | ra_rematk(as, ref); |
469 | checkmclim(as); | 469 | checkmclim(as); |
470 | } | 470 | } |