Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index 03827b20351b2f7b9208cce2de9de3604634321f..3e50786cabafb10f69b2653d713ea88c2fb4a3de 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -5,6 +5,7 @@ |
#ifndef V8_WASM_OPCODES_H_ |
#define V8_WASM_OPCODES_H_ |
+#include "src/globals.h" |
#include "src/machine-type.h" |
#include "src/signature.h" |
@@ -486,7 +487,7 @@ enum TrapReason { |
}; |
// A collection of opcode-related static methods. |
-class WasmOpcodes { |
+class V8_EXPORT_PRIVATE WasmOpcodes { |
public: |
static const char* OpcodeName(WasmOpcode opcode); |
static const char* ShortOpcodeName(WasmOpcode opcode); |