diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-16 11:51:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-16 11:51:16 -0300 |
| commit | 2d8d5c74b5ef3d333314feede0165df7c3d13811 (patch) | |
| tree | 320305677dc890ec28cc6720810967f07a20d358 /lgc.c | |
| parent | 3cdd49c94a8feed94853ba3a6adaa556fb34fd8d (diff) | |
| download | lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.gz lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.bz2 lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.zip | |
Details
New year (2024->2025), typos in comments
Diffstat (limited to 'lgc.c')
| -rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | */ |
| 247 | void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { | 247 | void 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 | ||
