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