summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-02-16 18:37:32 +0000
committerSam Clegg <sbc@chromium.org>2018-02-16 18:37:32 +0000
commit3d1f4b954d888a30e2aa09848b0c696dfa20b787 (patch)
treef4ae668bed030ea6523b2f3a3abf926a063be404
parent96dae81d7fe7570f97d8fbe03c02e145173f801c (diff)
downloadbcm5719-llvm-3d1f4b954d888a30e2aa09848b0c696dfa20b787.tar.gz
bcm5719-llvm-3d1f4b954d888a30e2aa09848b0c696dfa20b787.zip
[WebAssembly] Fix typos in comment. NFC.
Patch by Nicholas Wilson! llvm-svn: 325370
-rw-r--r--lld/wasm/MarkLive.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp
index 7a0a9e9724d..296813035b4 100644
--- a/lld/wasm/MarkLive.cpp
+++ b/lld/wasm/MarkLive.cpp
@@ -59,9 +59,9 @@ void lld::wasm::markLive() {
if (!Sym->isHidden())
Enqueue(Sym);
- // The ctor fuctions are all used the synthetic __wasm_call_ctors function,
- // but since this function is created in-place it doesn't contain reloctations
- // which mean we have to manually mark the ctors.
+ // The ctor functions are all used in the synthetic __wasm_call_ctors
+ // function, but since this function is created in-place it doesn't contain
+ // reloctations which mean we have to manually mark the ctors.
for (const ObjFile *Obj : Symtab->ObjectFiles) {
const WasmLinkingData &L = Obj->getWasmObj()->linkingData();
for (const WasmInitFunc &F : L.InitFunctions)
OpenPOWER on IntegriCloud