Merge branch 'master' into v2.1
This commit is contained in:
@@ -2159,14 +2159,14 @@ void lj_record_ins(jit_State *J)
|
||||
case BC_MODVN: case BC_MODVV:
|
||||
recmod:
|
||||
if (tref_isnumber_str(rb) && tref_isnumber_str(rc))
|
||||
rc = lj_opt_narrow_mod(J, rb, rc, rcv);
|
||||
rc = lj_opt_narrow_mod(J, rb, rc, rbv, rcv);
|
||||
else
|
||||
rc = rec_mm_arith(J, &ix, MM_mod);
|
||||
break;
|
||||
|
||||
case BC_POW:
|
||||
if (tref_isnumber_str(rb) && tref_isnumber_str(rc))
|
||||
rc = lj_opt_narrow_pow(J, lj_ir_tonum(J, rb), rc, rcv);
|
||||
rc = lj_opt_narrow_pow(J, rb, rc, rbv, rcv);
|
||||
else
|
||||
rc = rec_mm_arith(J, &ix, MM_pow);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user