[llvm] r346535 - [WebAssembly] Hotfix of WebAssemblyInstructionTableSize after rL346465
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 10:32:20 PST 2018
Author: maskray
Date: Fri Nov 9 10:32:20 2018
New Revision: 346535
URL: http://llvm.org/viewvc/llvm-project?rev=346535&view=rev
Log:
[WebAssembly] Hotfix of WebAssemblyInstructionTableSize after rL346465
Modified:
llvm/trunk/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp?rev=346535&r1=346534&r2=346535&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp Fri Nov 9 10:32:20 2018
@@ -36,6 +36,8 @@ using DecodeStatus = MCDisassembler::Dec
#include "WebAssemblyGenDisassemblerTables.inc"
namespace {
+static constexpr int WebAssemblyInstructionTableSize = 256;
+
class WebAssemblyDisassembler final : public MCDisassembler {
std::unique_ptr<const MCInstrInfo> MCII;
More information about the llvm-commits
mailing list