[WebAssembly] Fix typos in comment. NFC.
Patch by Nicholas Wilson!
llvm-svn: 325370
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp
index 7a0a9e9..2968130 100644
--- a/lld/wasm/MarkLive.cpp
+++ b/lld/wasm/MarkLive.cpp
@@ -59,9 +59,9 @@
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)