diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index 9b7f89b0..7bd72fda 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h @@ -651,8 +651,7 @@ static void asm_href(ASMState *as, IRIns *ir, IROp merge) rset_clear(allow, key); if (irkey[1].o == IR_HIOP) { if (ra_hasreg((irkey+1)->r)) { - tmpnum = (irkey+1)->r; - type = RID_TMP; + type = tmpnum = (irkey+1)->r; tmp1 = ra_scratch(as, allow); rset_clear(allow, tmp1); ra_noweak(as, tmpnum);