diff options
author | Mike Pall <mike> | 2011-06-22 21:07:02 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-22 21:07:02 +0200 |
commit | 513bd6e9522f7145eb411b90fc70b8623a712180 (patch) | |
tree | 13d9a9573ce93eb90cabd1b6687d285ec8e1edfd /src | |
parent | d4da9ff55ef01019c55246cd41ccd7510505cfe1 (diff) | |
download | luajit-513bd6e9522f7145eb411b90fc70b8623a712180.tar.gz luajit-513bd6e9522f7145eb411b90fc70b8623a712180.tar.bz2 luajit-513bd6e9522f7145eb411b90fc70b8623a712180.zip |
x86/x64: Don't evict BASE 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 145129df..b3fa7739 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 (emit_canremat(ref)) { | 467 | if (irref_isk(ref)) { |
468 | ra_rematk(as, ref); | 468 | ra_rematk(as, ref); |
469 | checkmclim(as); | 469 | checkmclim(as); |
470 | } | 470 | } |