[WebAssembly] Fix typo in comment
authorSam Clegg <sbc@chromium.org>
Wed, 17 Jan 2018 18:50:30 +0000 (18:50 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 17 Jan 2018 18:50:30 +0000 (18:50 +0000)
Patch by Nicholas Wilson!

llvm-svn: 322727

lld/wasm/Writer.cpp

index a1e8ddc..ec3cf1a 100644 (file)
@@ -420,7 +420,7 @@ void Writer::createLinkingSection() {
   if (!InitFunctions.empty()) {
     SubSection SubSection(WASM_INIT_FUNCS);
     writeUleb128(SubSection.getStream(), InitFunctions.size(),
-                 "num init functionsw");
+                 "num init functions");
     for (const WasmInitFunc &F : InitFunctions) {
       writeUleb128(SubSection.getStream(), F.Priority, "priority");
       writeUleb128(SubSection.getStream(), F.FunctionIndex, "function index");