lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


In 5.3 beta, luaY_parser() there is

  funcstate.f = cl->p = luaF_newproto(L);

  funcstate.f->source = luaS_new(L, name);  /* create and anchor TString */

  luaC_objbarrier(L, funcstate.f, funcstate.f->source);


Is the "objcarrier" necessary? It seems that funcstate.f is for sure white and the barrier is always a no-op in this case.

Best Regards,
Dong