Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index 6f302bc534b392287b0e2bda4207e9723857d01d..0ecf64530ef966e4ff8a95365bb60a1c7c17ebc2 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -5,10 +5,12 @@ |
#ifndef V8_COMPILER_LINKAGE_H_ |
#define V8_COMPILER_LINKAGE_H_ |
+#include "src/base/compiler-specific.h" |
#include "src/base/flags.h" |
#include "src/compiler/frame.h" |
#include "src/compiler/operator.h" |
#include "src/frames.h" |
+#include "src/globals.h" |
#include "src/machine-type.h" |
#include "src/runtime/runtime.h" |
#include "src/zone/zone.h" |
@@ -161,7 +163,8 @@ typedef Signature<LinkageLocation> LocationSignature; |
// Describes a call to various parts of the compiler. Every call has the notion |
// of a "target", which is the first input to the call. |
-class CallDescriptor final : public ZoneObject { |
+class V8_EXPORT_PRIVATE CallDescriptor final |
+ : public NON_EXPORTED_BASE(ZoneObject) { |
public: |
// Describes the kind of this call, which determines the target. |
enum Kind { |
@@ -313,7 +316,8 @@ class CallDescriptor final : public ZoneObject { |
DEFINE_OPERATORS_FOR_FLAGS(CallDescriptor::Flags) |
std::ostream& operator<<(std::ostream& os, const CallDescriptor& d); |
-std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k); |
+V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
+ const CallDescriptor::Kind& k); |
// Defines the linkage for a compilation, including the calling conventions |
// for incoming parameters and return value(s) as well as the outgoing calling |
@@ -329,7 +333,7 @@ std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k); |
// Call[JSFunction] function, rcvr, arg 1, [...], new, #arg, context |
// Call[Runtime] CEntryStub, arg 1, arg 2, [...], fun, #arg, context |
// Call[BytecodeDispatch] address, arg 1, arg 2, [...] |
-class Linkage : public ZoneObject { |
+class V8_EXPORT_PRIVATE Linkage : public NON_EXPORTED_BASE(ZoneObject) { |
public: |
explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {} |