mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
FFI: Fix missing cts->L initialization in argv2ctype().
This commit is contained in:
parent
3a654999c6
commit
a622e2eb55
@ -76,7 +76,7 @@ static CTypeID argv2ctype(jit_State *J, TRef tr, cTValue *o)
|
||||
/* Specialize to the string containing the C type declaration. */
|
||||
emitir(IRTG(IR_EQ, IRT_STR), tr, lj_ir_kstr(J, s));
|
||||
cp.L = J->L;
|
||||
cp.cts = ctype_ctsG(J2G(J));
|
||||
cp.cts = ctype_cts(J->L);
|
||||
oldtop = cp.cts->top;
|
||||
cp.srcname = strdata(s);
|
||||
cp.p = strdata(s);
|
||||
|
Loading…
Reference in New Issue
Block a user