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

Unified Diff: src/compiler/graph.cc

Issue 1187263003: [turbofan] Remove obsolete 'incomplete' flag from GraphDecorator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/graph.h ('k') | src/compiler/source-position.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph.cc
diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc
index 07bf2ba44eb7cdb068796d0ed179f628172c444c..327fb5853c0690997ffabc6383441338dd01b4b2 100644
--- a/src/compiler/graph.cc
+++ b/src/compiler/graph.cc
@@ -22,9 +22,9 @@ Graph::Graph(Zone* zone)
decorators_(zone) {}
-void Graph::Decorate(Node* node, bool incomplete) {
+void Graph::Decorate(Node* node) {
for (auto const decorator : decorators_) {
- decorator->Decorate(node, incomplete);
+ decorator->Decorate(node);
}
}
@@ -46,7 +46,7 @@ Node* Graph::NewNode(const Operator* op, int input_count, Node** inputs,
DCHECK_LE(op->ValueInputCount(), input_count);
Node* const node =
Node::New(zone(), NextNodeId(), op, input_count, inputs, incomplete);
- Decorate(node, incomplete);
+ Decorate(node);
return node;
}
« no previous file with comments | « src/compiler/graph.h ('k') | src/compiler/source-position.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698