diff options
Diffstat (limited to 'src/lj_opt_mem.c')
-rw-r--r-- | src/lj_opt_mem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c index 6f956b37..8cacfcfe 100644 --- a/src/lj_opt_mem.c +++ b/src/lj_opt_mem.c | |||
@@ -233,9 +233,7 @@ static TRef fwd_ahload(jit_State *J, IRRef xref) | |||
233 | return lj_ir_knum_u64(J, tv->u64); | 233 | return lj_ir_knum_u64(J, tv->u64); |
234 | else if (tvisint(tv)) | 234 | else if (tvisint(tv)) |
235 | return lj_ir_kint(J, intV(tv)); | 235 | return lj_ir_kint(J, intV(tv)); |
236 | else if (tvistab(tv)) /* Template table nil value marker. */ | 236 | else if (tvisgcv(tv)) |
237 | return TREF_NIL; | ||
238 | else if (tvisstr(tv)) | ||
239 | return lj_ir_kstr(J, strV(tv)); | 237 | return lj_ir_kstr(J, strV(tv)); |
240 | } | 238 | } |
241 | /* Othwerwise: don't intern as a constant. */ | 239 | /* Othwerwise: don't intern as a constant. */ |