From 733c58595bb57541e38275103fade1330aeb839d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 13 Feb 2014 10:11:34 -0200 Subject: no more local collection --- lapi.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 05640ef9..0fcb6eaa 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.192 2013/12/30 20:47:58 roberto Exp roberto $ +** $Id: lapi.c,v 2.193 2014/01/27 13:34:32 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -589,7 +589,6 @@ LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { while (n--) { setobj2n(L, &cl->c.upvalue[n], L->top + n); /* does not need barrier because closure is white */ - valnolocal(L->top + n); /* but needs 'local barrier' */ } setclCvalue(L, L->top, cl); } @@ -864,7 +863,6 @@ LUA_API int lua_setmetatable (lua_State *L, int objindex) { } default: { G(L)->mt[ttnov(obj)] = mt; - if (mt) nolocal(obj2gco(mt)); break; } } @@ -1086,11 +1084,6 @@ LUA_API int lua_gc (lua_State *L, int what, int data) { g->gcpause = data; break; } - case LUA_GCSETLOCALPAUSE: { - res = g->gclocalpause; - g->gclocalpause = data; - break; - } case LUA_GCSETSTEPMUL: { res = g->gcstepmul; g->gcstepmul = data; -- cgit v1.2.3-55-g6feb