aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_opt_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_loop.c b/src/lj_opt_loop.c
index 923387cc..ee5c4d1e 100644
--- a/src/lj_opt_loop.c
+++ b/src/lj_opt_loop.c
@@ -334,7 +334,7 @@ static void loop_unroll(jit_State *J)
334 /* Check all loop-carried dependencies for type instability. */ 334 /* Check all loop-carried dependencies for type instability. */
335 if (!irt_sametype(t, irr->t)) { 335 if (!irt_sametype(t, irr->t)) {
336 if (irt_isinteger(t) && irt_isinteger(irr->t)) 336 if (irt_isinteger(t) && irt_isinteger(irr->t))
337 continue; //XXX 337 continue;
338 else if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num. */ 338 else if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num. */
339 ref = tref_ref(emitir(IRTN(IR_CONV), ref, IRCONV_NUM_INT)); 339 ref = tref_ref(emitir(IRTN(IR_CONV), ref, IRCONV_NUM_INT));
340 else if (irt_isnum(irr->t) && irt_isinteger(t)) /* Fix num->int. */ 340 else if (irt_isnum(irr->t) && irt_isinteger(t)) /* Fix num->int. */