[WebAssembly] Fix typo in comment

Patch by Nicholas Wilson!

llvm-svn: 322727
This commit is contained in:
Sam Clegg 2018-01-17 18:50:30 +00:00
parent fc0723c73f
commit 54c3891328
1 changed files with 1 additions and 1 deletions

View 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");