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(); |
} |