Index: src/interpreter/bytecode-pipeline.h |
diff --git a/src/interpreter/bytecode-pipeline.h b/src/interpreter/bytecode-pipeline.h |
index 0b1a1f1bf3afa989d4a18d34848fbcf44eb7e526..85e41c60fab355728e1f1e8edf4e1ba381a12a87 100644 |
--- a/src/interpreter/bytecode-pipeline.h |
+++ b/src/interpreter/bytecode-pipeline.h |
@@ -5,6 +5,8 @@ |
#ifndef V8_INTERPRETER_BYTECODE_PIPELINE_H_ |
#define V8_INTERPRETER_BYTECODE_PIPELINE_H_ |
+#include "src/base/compiler-specific.h" |
+#include "src/globals.h" |
#include "src/interpreter/bytecode-register-allocator.h" |
#include "src/interpreter/bytecode-register.h" |
#include "src/interpreter/bytecodes.h" |
@@ -138,7 +140,7 @@ class BytecodeSourceInfo final { |
// A container for a generated bytecode, it's operands, and source information. |
// These must be allocated by a BytecodeNodeAllocator instance. |
-class BytecodeNode final : ZoneObject { |
+class V8_EXPORT_PRIVATE BytecodeNode final : NON_EXPORTED_BASE(ZoneObject) { |
public: |
INLINE(BytecodeNode(const Bytecode bytecode, |
BytecodeSourceInfo* source_info = nullptr)) |
@@ -341,8 +343,10 @@ class BytecodeNode final : ZoneObject { |
BytecodeSourceInfo source_info_; |
}; |
-std::ostream& operator<<(std::ostream& os, const BytecodeSourceInfo& info); |
-std::ostream& operator<<(std::ostream& os, const BytecodeNode& node); |
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
+ const BytecodeSourceInfo& info); |
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
+ const BytecodeNode& node); |
} // namespace interpreter |
} // namespace internal |