aboutsummaryrefslogtreecommitdiff
path: root/src/lj_opt_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_opt_mem.c')
-rw-r--r--src/lj_opt_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c
index 455b0ca6..07dab0d9 100644
--- a/src/lj_opt_mem.c
+++ b/src/lj_opt_mem.c
@@ -229,8 +229,8 @@ static TRef fwd_ahload(jit_State *J, IRRef xref)
229 if (key->o == IR_KSLOT) key = IR(key->op1); 229 if (key->o == IR_KSLOT) key = IR(key->op1);
230 lj_ir_kvalue(J->L, &keyv, key); 230 lj_ir_kvalue(J->L, &keyv, key);
231 tv = lj_tab_get(J->L, ir_ktab(IR(ir->op1)), &keyv); 231 tv = lj_tab_get(J->L, ir_ktab(IR(ir->op1)), &keyv);
232 lj_assertJ(itype2irt(tv) == irt_type(fins->t), 232 if (itype2irt(tv) != irt_type(fins->t))
233 "mismatched type in constant table"); 233 return 0; /* Type instability in loop-carried dependency. */
234 if (irt_isnum(fins->t)) 234 if (irt_isnum(fins->t))
235 return lj_ir_knum_u64(J, tv->u64); 235 return lj_ir_knum_u64(J, tv->u64);
236 else if (LJ_DUALNUM && irt_isint(fins->t)) 236 else if (LJ_DUALNUM && irt_isint(fins->t))