瀏覽代碼

MIPS64: Fix soft-float IR_TOSTR.

Mike Pall 4 年之前
父節點
當前提交
4a70bd71ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lj_asm_mips.h

+ 1 - 1
src/lj_asm_mips.h

@@ -886,7 +886,7 @@ static void asm_tvptr(ASMState *as, Reg dest, IRRef ref, MSize mode)
 	/* Use the number constant itself as a TValue. */
 	/* Use the number constant itself as a TValue. */
 	ra_allockreg(as, igcptr(ir_knum(ir)), dest);
 	ra_allockreg(as, igcptr(ir_knum(ir)), dest);
       } else {
       } else {
-#if LJ_SOFTFP
+#if LJ_SOFTFP32
 	lj_assertA(0, "unsplit FP op");
 	lj_assertA(0, "unsplit FP op");
 #else
 #else
 	/* Otherwise force a spill and use the spill slot. */
 	/* Otherwise force a spill and use the spill slot. */