Feature #1319 ยป 0035-Apply-patch-5-for-lua-5.4.7.patch
| dependencies/lua-5.4/Version.txt | ||
|---|---|---|
| (http://www.lua.org/ftp/lua-5.4.7.tar.gz) | ||
| Upstream bug fixes from https://www.lua.org/bugs.html applied: | ||
| 2, 3 | ||
| 2, 3, 5 | ||
| Upstream bug fixes not applicable to our tree: | ||
| 1 | ||
| dependencies/lua-5.4/src/lvm.c | ||
|---|---|---|
|       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; | ||