aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 3cdfd006..1e9f7569 100644
--- a/lgc.c
+++ b/lgc.c
@@ -242,7 +242,7 @@ static int iscleared (global_State *g, const GCObject *o) {
242** incremental sweep phase, it clears the black object to white (sweep 242** incremental sweep phase, it clears the black object to white (sweep
243** it) to avoid other barrier calls for this same object. (That cannot 243** it) to avoid other barrier calls for this same object. (That cannot
244** be done is generational mode, as its sweep does not distinguish 244** be done is generational mode, as its sweep does not distinguish
245** whites from deads.) 245** white from dead.)
246*/ 246*/
247void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { 247void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) {
248 global_State *g = G(L); 248 global_State *g = G(L);
@@ -1089,7 +1089,7 @@ void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt) {
1089** GCmarked: number of bytes that became old since last major collection. 1089** GCmarked: number of bytes that became old since last major collection.
1090** GCmajorminor: number of bytes marked in last major collection. 1090** GCmajorminor: number of bytes marked in last major collection.
1091** * KGC_GENMAJOR 1091** * KGC_GENMAJOR
1092** GCmarked: number of bytes that became old sinse last major collection. 1092** GCmarked: number of bytes that became old since last major collection.
1093** GCmajorminor: number of bytes marked in last major collection. 1093** GCmajorminor: number of bytes marked in last major collection.
1094*/ 1094*/
1095 1095