remove l_G from Proto

This commit is contained in:
Cloud Wu
2019-06-17 11:21:01 +08:00
committed by 云风
parent 744fbea7ee
commit c80b462412
4 changed files with 1 additions and 10 deletions

View File

@@ -496,8 +496,6 @@ static lu_mem traversetable (global_State *g, Table *h) {
*/
static int traverseproto (global_State *g, Proto *f) {
int i;
if (g != f->l_G)
return 0;
markobjectN(g, f->source);
for (i = 0; i < f->sizek; i++) /* mark literals */
markvalue(g, &f->k[i]);