commit | 991b0d24fffc53e49b87978d0b2f2143c1d86759 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Oct 04 10:25:52 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Oct 04 10:25:52 2018 +0000 |
tree | 2ea42948ffe96cd261fae3285965cb05fe3d6e16 | |
parent | 71ea753a804af2268b8ba024eb2b316614099566 [diff] [blame] |
Fix MSVC "not all control paths return a value" warning. NFCI. llvm-svn: 343765
diff --git a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp index b7b8c4f..08c1155 100644 --- a/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp +++ b/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
@@ -250,4 +250,5 @@ case wasm::ValType::EXCEPT_REF: return "except_ref"; } + llvm_unreachable("Unknown wasm::ValType"); }