Skip to content

Commit 8c58993

Browse files
committed
fix comment typos to cycle bots
1 parent e568ccc commit 8c58993

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lld/wasm/Symbols.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ struct WasmSym {
570570
static DefinedFunction *applyGlobalRelocs;
571571

572572
// __wasm_apply_global_tls_relocs
573-
// Like applyGlobalRelocs but for globals that hold TLS addresess. These
573+
// Like applyGlobalRelocs but for globals that hold TLS addresses. These
574574
// must be delayed until __wasm_init_tls.
575575
static DefinedFunction *applyGlobalTLSRelocs;
576576

lld/wasm/Writer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,8 @@ void Writer::populateTargetFeatures() {
542542
done:
543543
// Normally we don't include bss segments in the binary. In particular if
544544
// memory is not being imported then we can assume its zero initialized.
545-
// In the case the memory is imported, we and we can use the memory.fill
546-
// instrction than we can also avoid inluding the segments.
545+
// In the case the memory is imported, and we can use the memory.fill
546+
// instruction, then we can also avoid including the segments.
547547
if (config->importMemory && !allowed.count("bulk-memory"))
548548
config->emitBssSegments = true;
549549

@@ -1169,7 +1169,7 @@ void Writer::createInitMemoryFunction() {
11691169
if (needsPassiveInitialization(s)) {
11701170
// For passive BSS segments we can simple issue a memory.fill(0).
11711171
// For non-BSS segments we do a memory.init. Both these
1172-
// instructions take as thier first argument the destination
1172+
// instructions take as their first argument the destination
11731173
// address.
11741174
writePtrConst(os, s->startVA, is64, "destination address");
11751175
if (config->isPic) {
@@ -1255,7 +1255,7 @@ void Writer::createInitMemoryFunction() {
12551255
for (const OutputSegment *s : segments) {
12561256
if (needsPassiveInitialization(s) && !s->isBss) {
12571257
// The TLS region should not be dropped since its is needed
1258-
// during the intiailizing of each thread (__wasm_init_tls).
1258+
// during the initialization of each thread (__wasm_init_tls).
12591259
if (config->sharedMemory && s->isTLS())
12601260
continue;
12611261
// data.drop instruction

0 commit comments

Comments
 (0)