Index: src/compiler/node-matchers.h |
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h |
index 6c283dc03218be43a59e3b0be1e820f0d046720b..2d8ec0005d596d5f8506c7c5ed71a7b0423f3522 100644 |
--- a/src/compiler/node-matchers.h |
+++ b/src/compiler/node-matchers.h |
@@ -9,9 +9,11 @@ |
// TODO(turbofan): Move ExternalReference out of assembler.h |
#include "src/assembler.h" |
+#include "src/base/compiler-specific.h" |
#include "src/compiler/node.h" |
#include "src/compiler/operator.h" |
#include "src/double.h" |
+#include "src/globals.h" |
namespace v8 { |
namespace internal { |
@@ -651,7 +653,7 @@ typedef BaseWithIndexAndDisplacementMatcher<Int32AddMatcher> |
typedef BaseWithIndexAndDisplacementMatcher<Int64AddMatcher> |
BaseWithIndexAndDisplacement64Matcher; |
-struct BranchMatcher : public NodeMatcher { |
+struct V8_EXPORT_PRIVATE BranchMatcher : public NON_EXPORTED_BASE(NodeMatcher) { |
explicit BranchMatcher(Node* branch); |
bool Matched() const { return if_true_ && if_false_; } |
@@ -665,8 +667,8 @@ struct BranchMatcher : public NodeMatcher { |
Node* if_false_; |
}; |
- |
-struct DiamondMatcher : public NodeMatcher { |
+struct V8_EXPORT_PRIVATE DiamondMatcher |
+ : public NON_EXPORTED_BASE(NodeMatcher) { |
explicit DiamondMatcher(Node* merge); |
bool Matched() const { return branch_; } |