MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaC_barrierback

Function luaC_barrierback

app/redis-6.2.6/deps/lua/src/lgc.c:674–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672
673
674void luaC_barrierback (lua_State *L, Table *t) {
675 global_State *g = G(L);
676 GCObject *o = obj2gco(t);
677 lua_assert(isblack(o) && !isdead(g, o));
678 lua_assert(g->gcstate != GCSfinalize && g->gcstate != GCSpause);
679 black2gray(o); /* make table gray (again) */
680 t->gclist = g->grayagain;
681 g->grayagain = o;
682}
683
684
685void luaC_link (lua_State *L, GCObject *o, lu_byte tt) {

Callers 6

luaV_settableFunction · 0.85
luaV_executeFunction · 0.85
luaH_newkeyFunction · 0.85
lua_rawsetFunction · 0.85
lua_rawsetiFunction · 0.85
lua_rawsetpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected