Skip to content

Commit b322044

Browse files
fix typos
1 parent 2ffc231 commit b322044

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ typedef struct {
156156
// - pagetable0_t: the top/root level
157157
// - pagetable1_t: the middle level
158158
// - pagetable2_t: the bottom/leaf level
159-
// Corresponding to these simlar structures is a large amount of repetetive
159+
// Corresponding to these simlar structures is a large amount of repetitive
160160
// code that is nearly the same but not identical. It could be made less
161-
// repetetive with C macros, but only at the cost of debuggability. The specialized
161+
// repetitive with C macros, but only at the cost of debuggability. The specialized
162162
// structure of this representation allows us to partially unroll and optimize
163163
// various conditions at each level.
164164

165165
// The following constants define the branching factors at each level.
166-
// They constants and GC_PAGE_LG2 must therefore sum to sizeof(void*).
166+
// The constants and GC_PAGE_LG2 must therefore sum to sizeof(void*).
167167
// They should all be multiples of 32 (sizeof(uint32_t)) except that REGION2_PG_COUNT may also be 1.
168168
#ifdef _P64
169169
#define REGION0_PG_COUNT (1 << 16)

0 commit comments

Comments
 (0)