diff options
author | Mike Pall <mike> | 2011-07-12 15:59:07 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-07-12 15:59:07 +0200 |
commit | eb92daad0a3eb4a98d4803c76468ab2f179368be (patch) | |
tree | 1f1a64937012fdb525472663519ce39fd33df39a /src | |
parent | fe6ded90188c94c138ef183b34dfba3652e87f4b (diff) | |
download | luajit-eb92daad0a3eb4a98d4803c76468ab2f179368be.tar.gz luajit-eb92daad0a3eb4a98d4803c76468ab2f179368be.tar.bz2 luajit-eb92daad0a3eb4a98d4803c76468ab2f179368be.zip |
ARM: Don't evict ASMREF_L in ra_evictk().
Diffstat (limited to 'src')
-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 | } |