aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
diff options
context:
space:
mode:
authorCongcong Cai <congcong.ca.cai@bmw.com>2023-03-21 13:19:35 +0800
committerCongcong Cai <congcong.ca.cai@bmw.com>2023-03-21 13:20:46 +0800
commitff937a82f175937faebcea924941551898e7f794 (patch)
treea9c33316e3eb65f3a528a5300c04b7a814ba6f58 /llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
parent71d97df6afc4a8b65c145f835f51dccd624772c7 (diff)
downloadllvm-ff937a82f175937faebcea924941551898e7f794.zip
llvm-ff937a82f175937faebcea924941551898e7f794.tar.gz
llvm-ff937a82f175937faebcea924941551898e7f794.tar.bz2
[Webassembly][NFC] Fix typo in comment
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
index c48a13e..9bf2596 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
@@ -893,7 +893,7 @@ void llvm::getLibcallSignature(const WebAssemblySubtarget &Subtarget,
}
}
-// TODO: If the RTLIB::Libcall-taking flavor of GetSignature remains unsed
+// TODO: If the RTLIB::Libcall-taking flavor of GetSignature remains unused
// other than here, just roll its logic into this version.
void llvm::getLibcallSignature(const WebAssemblySubtarget &Subtarget,
StringRef Name,
@@ -904,9 +904,9 @@ void llvm::getLibcallSignature(const WebAssemblySubtarget &Subtarget,
auto Val = Map.find(Name);
#ifndef NDEBUG
if (Val == Map.end()) {
- auto message =
+ auto Message =
std::string("unexpected runtime library name: ") + std::string(Name);
- llvm_unreachable(message.c_str());
+ llvm_unreachable(Message.c_str());
}
#endif
return getLibcallSignature(Subtarget, Val->second, Rets, Params);