issue #196 initialize ravi_state

lua54-gc
Dibyendu Majumdar 4 years ago
parent 0e0b677289
commit 73cba9e376

@ -385,6 +385,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
setgcparam(g->genmajormul, LUAI_GENMAJORMUL);
g->genminormul = LUAI_GENMINORMUL;
for (i=0; i < LUA_NUMTAGS; i++) g->mt[i] = NULL;
g->ravi_state = NULL;
raviV_initjit(L);
if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) {
/* memory allocation error: free partial state */

Loading…
Cancel
Save