diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp --- a/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp @@ -242,7 +242,7 @@ // Start assigning local numbers after the last parameter. unsigned CurLocal = static_cast(MFI.getParams().size()); - // For swiftcc, additional swiftself and swifterror paramsters are added + // For swiftcc, additional swiftself and swifterror parameters are added // if there aren't. Forward the cursor for the extra parameters. if (MF.getFunction().getCallingConv() == CallingConv::Swift) { bool HasSwiftErrorArg = false;