Index: src/compiler/node.cc |
diff --git a/src/compiler/node.cc b/src/compiler/node.cc |
index 022c44db2dddf257f868a776eacec01eeb9dbdec..89eae1d2bc9e4ad2235d5f8d6e423adaff1cd9cf 100644 |
--- a/src/compiler/node.cc |
+++ b/src/compiler/node.cc |
@@ -271,6 +271,12 @@ bool Node::OwnedBy(Node const* owner1, Node const* owner2) const { |
} |
+void Node::Print() const { |
+ OFStream os(stdout); |
+ os << *this << std::endl; |
+} |
+ |
+ |
Node::Node(NodeId id, const Operator* op, int inline_count, int inline_capacity) |
: op_(op), |
type_(nullptr), |