summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
index 8512b20770b..6c84a38a590 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
@@ -206,7 +206,8 @@ static bool canThrow(const Value *V) {
return false;
return true;
}
- return true; // not a function, so an indirect call - can throw, we can't tell
+ // not a function, so an indirect call - can throw, we can't tell
+ return true;
}
// Returns an available name for a global value.
OpenPOWER on IntegriCloud