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

Side by Side Diff: src/compiler/control-reducer.cc

Issue 838783002: [turbofan] Cleanup Graph and related classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Parameter pack causes compile errors. 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 unified diff | Download patch
« no previous file with comments | « src/compiler/common-operator-reducer.cc ('k') | src/compiler/graph.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/control-reducer.h" 6 #include "src/compiler/control-reducer.h"
7 #include "src/compiler/graph.h" 7 #include "src/compiler/graph.h"
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/node-marker.h"
9 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 11 #include "src/compiler/node-properties-inl.h"
11 #include "src/zone-containers.h" 12 #include "src/zone-containers.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace internal { 15 namespace internal {
15 namespace compiler { 16 namespace compiler {
16 17
17 enum VisitState { kUnvisited = 0, kOnStack = 1, kRevisit = 2, kVisited = 3 }; 18 enum VisitState { kUnvisited = 0, kOnStack = 1, kRevisit = 2, kVisited = 3 };
18 enum Decision { kFalse, kUnknown, kTrue }; 19 enum Decision { kFalse, kUnknown, kTrue };
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 Node* ControlReducer::ReduceBranchForTesting(JSGraph* jsgraph, 584 Node* ControlReducer::ReduceBranchForTesting(JSGraph* jsgraph,
584 CommonOperatorBuilder* common, 585 CommonOperatorBuilder* common,
585 Node* node) { 586 Node* node) {
586 Zone zone(jsgraph->graph()->zone()->isolate()); 587 Zone zone(jsgraph->graph()->zone()->isolate());
587 ControlReducerImpl impl(&zone, jsgraph, common); 588 ControlReducerImpl impl(&zone, jsgraph, common);
588 return impl.ReduceBranch(node); 589 return impl.ReduceBranch(node);
589 } 590 }
590 } 591 }
591 } 592 }
592 } // namespace v8::internal::compiler 593 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/common-operator-reducer.cc ('k') | src/compiler/graph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698