浏览代码

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

Mike Pall 14 年之前
父节点
当前提交
513bd6e952
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lj_asm.c

+ 1 - 1
src/lj_asm.c

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