summaryrefslogtreecommitdiff
path: root/deps/v8/src/disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/disasm.h')
-rw-r--r--deps/v8/src/disasm.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/deps/v8/src/disasm.h b/deps/v8/src/disasm.h
index b5be53b9f4..f543af2609 100644
--- a/deps/v8/src/disasm.h
+++ b/deps/v8/src/disasm.h
@@ -14,7 +14,7 @@ typedef unsigned char byte;
// Interface and default implementation for converting addresses and
// register-numbers to text. The default implementation is machine
// specific.
-class NameConverter {
+class V8_EXPORT_PRIVATE NameConverter {
public:
virtual ~NameConverter() = default;
virtual const char* NameOfCPURegister(int reg) const;
@@ -34,7 +34,6 @@ class NameConverter {
v8::internal::EmbeddedVector<char, 128> tmp_buffer_;
};
-
// A generic Disassembler interface
class Disassembler {
public:
@@ -56,7 +55,8 @@ class Disassembler {
// Writes one disassembled instruction into 'buffer' (0-terminated).
// Returns the length of the disassembled machine instruction in bytes.
- int InstructionDecode(v8::internal::Vector<char> buffer, byte* instruction);
+ V8_EXPORT_PRIVATE int InstructionDecode(v8::internal::Vector<char> buffer,
+ byte* instruction);
// Returns -1 if instruction does not mark the beginning of a constant pool,
// or the number of entries in the constant pool beginning here.
@@ -64,9 +64,10 @@ class Disassembler {
// Write disassembly into specified file 'f' using specified NameConverter
// (see constructor).
- static void Disassemble(FILE* f, byte* begin, byte* end,
- UnimplementedOpcodeAction unimplemented_action =
- kAbortOnUnimplementedOpcode);
+ V8_EXPORT_PRIVATE static void Disassemble(
+ FILE* f, byte* begin, byte* end,
+ UnimplementedOpcodeAction unimplemented_action =
+ kAbortOnUnimplementedOpcode);
private:
const NameConverter& converter_;