From 4955066366b1e5e4fbb12feb6abf12e9f43b5242 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 9 Nov 2018 18:32:20 +0000 Subject: [PATCH] [WebAssembly] Hotfix of WebAssemblyInstructionTableSize after rL346465 llvm-svn: 346535 --- .../Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp b/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp index 4ab290399ba7..971a48c89bd9 100644 --- a/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp +++ b/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp @@ -36,6 +36,8 @@ using DecodeStatus = MCDisassembler::DecodeStatus; #include "WebAssemblyGenDisassemblerTables.inc" namespace { +static constexpr int WebAssemblyInstructionTableSize = 256; + class WebAssemblyDisassembler final : public MCDisassembler { std::unique_ptr MCII;