Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index d34b4e8dcec7f207ee9a7f03ef8aff0cda0b9606..0c260623763fb8fb9ab53a0f642e4b8e4c159e9d 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -563,7 +563,7 @@ void ControlReducer::TrimGraph(Zone* zone, JSGraph* jsgraph) { |
Node* ControlReducer::ReducePhiForTesting(JSGraph* jsgraph, |
CommonOperatorBuilder* common, |
Node* node) { |
- Zone zone(jsgraph->graph()->zone()->isolate()); |
+ Zone zone; |
ControlReducerImpl impl(&zone, jsgraph, common); |
return impl.ReducePhi(node); |
} |
@@ -572,7 +572,7 @@ Node* ControlReducer::ReducePhiForTesting(JSGraph* jsgraph, |
Node* ControlReducer::ReduceMergeForTesting(JSGraph* jsgraph, |
CommonOperatorBuilder* common, |
Node* node) { |
- Zone zone(jsgraph->graph()->zone()->isolate()); |
+ Zone zone; |
ControlReducerImpl impl(&zone, jsgraph, common); |
return impl.ReduceMerge(node); |
} |
@@ -581,7 +581,7 @@ Node* ControlReducer::ReduceMergeForTesting(JSGraph* jsgraph, |
Node* ControlReducer::ReduceBranchForTesting(JSGraph* jsgraph, |
CommonOperatorBuilder* common, |
Node* node) { |
- Zone zone(jsgraph->graph()->zone()->isolate()); |
+ Zone zone; |
ControlReducerImpl impl(&zone, jsgraph, common); |
return impl.ReduceBranch(node); |
} |