mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
update lua 5.4.8 rc1
This commit is contained in:
@@ -341,7 +341,10 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
|
||||
lua_assert(isempty(slot)); /* slot must be empty */
|
||||
tm = fasttm(L, h->metatable, TM_NEWINDEX); /* get metamethod */
|
||||
if (tm == NULL) { /* no metamethod? */
|
||||
sethvalue2s(L, L->top.p, h); /* anchor 't' */
|
||||
L->top.p++; /* assume EXTRA_STACK */
|
||||
luaH_finishset(L, h, key, slot, val); /* set new value */
|
||||
L->top.p--;
|
||||
invalidateTMcache(h);
|
||||
luaC_barrierback(L, obj2gco(h), val);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user