aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lapi.c b/lapi.c
index 3e24781e..184b8dd7 100644
--- a/lapi.c
+++ b/lapi.c
@@ -563,6 +563,7 @@ LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) {
563 while (n--) { 563 while (n--) {
564 setobj2n(L, &cl->upvalue[n], s2v(L->top + n)); 564 setobj2n(L, &cl->upvalue[n], s2v(L->top + n));
565 /* does not need barrier because closure is white */ 565 /* does not need barrier because closure is white */
566 lua_assert(iswhite(cl));
566 } 567 }
567 setclCvalue(L, s2v(L->top), cl); 568 setclCvalue(L, s2v(L->top), cl);
568 api_incr_top(L); 569 api_incr_top(L);