Index: src/compiler/dead-code-elimination.h |
diff --git a/src/compiler/dead-code-elimination.h b/src/compiler/dead-code-elimination.h |
index 8e18561b4b8d5014d0fccdd8f5e3c03a7f287f54..1cf9b22833c7f659ace6ff93d90af1e8f6689e01 100644 |
--- a/src/compiler/dead-code-elimination.h |
+++ b/src/compiler/dead-code-elimination.h |
@@ -5,7 +5,9 @@ |
#ifndef V8_COMPILER_DEAD_CODE_ELIMINATION_H_ |
#define V8_COMPILER_DEAD_CODE_ELIMINATION_H_ |
+#include "src/base/compiler-specific.h" |
#include "src/compiler/graph-reducer.h" |
+#include "src/globals.h" |
namespace v8 { |
namespace internal { |
@@ -19,7 +21,8 @@ class CommonOperatorBuilder; |
// Note that this does not include trimming dead uses from the graph, and it |
// also does not include detecting dead code by any other means than seeing a |
// {Dead} control input; that is left to other reducers. |
-class DeadCodeElimination final : public AdvancedReducer { |
+class V8_EXPORT_PRIVATE DeadCodeElimination final |
+ : public NON_EXPORTED_BASE(AdvancedReducer) { |
public: |
DeadCodeElimination(Editor* editor, Graph* graph, |
CommonOperatorBuilder* common); |