x86/x64: Don't evict BASE in ra_evictk().

This commit is contained in:
Mike Pall 2011-06-22 21:07:02 +02:00
parent d4da9ff55e
commit 513bd6e952

View File

@ -464,7 +464,7 @@ static void ra_evictk(ASMState *as)
while (work) { while (work) {
Reg r = rset_pickbot(work); Reg r = rset_pickbot(work);
IRRef ref = regcost_ref(as->cost[r]); IRRef ref = regcost_ref(as->cost[r]);
if (emit_canremat(ref)) { if (irref_isk(ref)) {
ra_rematk(as, ref); ra_rematk(as, ref);
checkmclim(as); checkmclim(as);
} }