summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/graph-reducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/graph-reducer.h')
-rw-r--r--deps/v8/src/compiler/graph-reducer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/graph-reducer.h b/deps/v8/src/compiler/graph-reducer.h
index 95454098d5..171033fe53 100644
--- a/deps/v8/src/compiler/graph-reducer.h
+++ b/deps/v8/src/compiler/graph-reducer.h
@@ -139,6 +139,9 @@ class V8_EXPORT_PRIVATE GraphReducer
JSHeapBroker* broker, Node* dead = nullptr);
~GraphReducer() override;
+ GraphReducer(const GraphReducer&) = delete;
+ GraphReducer& operator=(const GraphReducer&) = delete;
+
Graph* graph() const { return graph_; }
void AddReducer(Reducer* reducer);
@@ -190,8 +193,6 @@ class V8_EXPORT_PRIVATE GraphReducer
ZoneStack<NodeState> stack_;
TickCounter* const tick_counter_;
JSHeapBroker* const broker_;
-
- DISALLOW_COPY_AND_ASSIGN(GraphReducer);
};
} // namespace compiler