diff options
-rw-r--r-- | src/lj_crecord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 63890001..0120b3eb 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c | |||
@@ -365,7 +365,7 @@ static TRef crec_ct_tv(jit_State *J, CType *d, TRef dp, TRef sp, TValue *sval) | |||
365 | } else if (tref_isnil(sp)) { | 365 | } else if (tref_isnil(sp)) { |
366 | sp = lj_ir_kptr(J, NULL); | 366 | sp = lj_ir_kptr(J, NULL); |
367 | } else if (tref_isudata(sp)) { | 367 | } else if (tref_isudata(sp)) { |
368 | sp = emitir(IRT(IR_ADD, IRT_P32), sp, lj_ir_kint(J, sizeof(GCcdata))); | 368 | sp = emitir(IRT(IR_ADD, IRT_P32), sp, lj_ir_kint(J, sizeof(GCudata))); |
369 | } else if (tref_isstr(sp)) { | 369 | } else if (tref_isstr(sp)) { |
370 | if (ctype_isenum(d->info)) { /* Match string against enum constant. */ | 370 | if (ctype_isenum(d->info)) { /* Match string against enum constant. */ |
371 | GCstr *str = strV(sval); | 371 | GCstr *str = strV(sval); |