diff options
-rw-r--r-- | src/lj_crecord.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 95d09e48..d46a239c 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c | |||
@@ -80,6 +80,7 @@ static CTypeID argv2ctype(jit_State *J, TRef tr, cTValue *o) | |||
80 | oldtop = cp.cts->top; | 80 | oldtop = cp.cts->top; |
81 | cp.srcname = strdata(s); | 81 | cp.srcname = strdata(s); |
82 | cp.p = strdata(s); | 82 | cp.p = strdata(s); |
83 | cp.param = NULL; | ||
83 | cp.mode = CPARSE_MODE_ABSTRACT|CPARSE_MODE_NOIMPLICIT; | 84 | cp.mode = CPARSE_MODE_ABSTRACT|CPARSE_MODE_NOIMPLICIT; |
84 | if (lj_cparse(&cp) || cp.cts->top > oldtop) /* Avoid new struct defs. */ | 85 | if (lj_cparse(&cp) || cp.cts->top > oldtop) /* Avoid new struct defs. */ |
85 | lj_trace_err(J, LJ_TRERR_BADTYPE); | 86 | lj_trace_err(J, LJ_TRERR_BADTYPE); |