diff options
Diffstat (limited to 'src/lj_opt_loop.c')
-rw-r--r-- | src/lj_opt_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_loop.c b/src/lj_opt_loop.c index adc0c476..05e9409e 100644 --- a/src/lj_opt_loop.c +++ b/src/lj_opt_loop.c | |||
@@ -286,7 +286,7 @@ static void loop_unroll(jit_State *J) | |||
286 | if (!irt_sametype(t, irr->t)) { | 286 | if (!irt_sametype(t, irr->t)) { |
287 | if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num case. */ | 287 | if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num case. */ |
288 | subst[ins] = tref_ref(emitir(IRTN(IR_TONUM), ref, 0)); | 288 | subst[ins] = tref_ref(emitir(IRTN(IR_TONUM), ref, 0)); |
289 | else | 289 | else if (!(irt_isinteger(t) && irt_isinteger(irr->t))) |
290 | lj_trace_err(J, LJ_TRERR_TYPEINS); | 290 | lj_trace_err(J, LJ_TRERR_TYPEINS); |
291 | } | 291 | } |
292 | } | 292 | } |