aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index 1e9f7569..8a82b6d9 100644
--- a/lgc.c
+++ b/lgc.c
@@ -953,7 +953,7 @@ static void GCTM (lua_State *L) {
953 setgcovalue(L, &v, udata2finalize(g)); 953 setgcovalue(L, &v, udata2finalize(g));
954 tm = luaT_gettmbyobj(L, &v, TM_GC); 954 tm = luaT_gettmbyobj(L, &v, TM_GC);
955 if (!notm(tm)) { /* is there a finalizer? */ 955 if (!notm(tm)) { /* is there a finalizer? */
956 int status; 956 TStatus status;
957 lu_byte oldah = L->allowhook; 957 lu_byte oldah = L->allowhook;
958 lu_byte oldgcstp = g->gcstp; 958 lu_byte oldgcstp = g->gcstp;
959 g->gcstp |= GCSTPGC; /* avoid GC steps */ 959 g->gcstp |= GCSTPGC; /* avoid GC steps */