Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: src/compiler/control-reducer.cc

Issue 868883002: Remove the dependency of Zone on Isolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation issues Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/graph-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698