Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index 3129c4ccf3960b0bf994eb1f0abea3c0f0905217..13aa1132d840c73a6f81451dc3e97990a7e5a93d 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -7,6 +7,7 @@ |
#include "src/globals.h" |
#include "src/machine-type.h" |
+#include "src/runtime/runtime.h" |
#include "src/signature.h" |
namespace v8 { |
@@ -533,7 +534,6 @@ class V8_EXPORT_PRIVATE WasmOpcodes { |
static int TrapReasonToMessageId(TrapReason reason); |
static const char* TrapReasonMessage(TrapReason reason); |
- static int32_t TrapReasonToFunctionId(TrapReason reason); |
static byte MemSize(MachineType type) { |
return 1 << ElementSizeLog2Of(type.representation()); |