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

Unified Diff: src/compiler/node.cc

Issue 702643002: [turbofan] Also print the non-value inputs in schedule. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node.cc
diff --git a/src/compiler/node.cc b/src/compiler/node.cc
index 28be39986b20633380eede5038bd3ded34dc0bf0..673ef3290e9127e8c2859a0b264485f59ebdd281 100644
--- a/src/compiler/node.cc
+++ b/src/compiler/node.cc
@@ -44,9 +44,9 @@ Node* Node::FindProjection(size_t projection_index) {
std::ostream& operator<<(std::ostream& os, const Node& n) {
os << n.id() << ": " << *n.op();
- if (n.op()->InputCount() > 0) {
+ if (n.InputCount() > 0) {
os << "(";
- for (int i = 0; i < n.op()->InputCount(); ++i) {
+ for (int i = 0; i < n.InputCount(); ++i) {
if (i != 0) os << ", ";
os << n.InputAt(i)->id();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698