[WebAssembly] Fix typos in comment. NFC.

Patch by Nicholas Wilson!

llvm-svn: 325370
This commit is contained in:
Sam Clegg 2018-02-16 18:37:32 +00:00
parent 96dae81d7f
commit 3d1f4b954d
1 changed files with 3 additions and 3 deletions

View File

@ -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)