Index: src/compiler/graph-visualizer.cc |
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc |
index 301e3900e1c052fb61f6dd8486d1121721d631ee..0cea77d9facb675571ebb48ec5bb2f47ff21e594 100644 |
--- a/src/compiler/graph-visualizer.cc |
+++ b/src/compiler/graph-visualizer.cc |
@@ -640,7 +640,13 @@ std::ostream& operator<<(std::ostream& os, const AsRPO& ar) { |
if (j++ > 0) os << ", "; |
os << "#" << SafeId(i) << ":" << SafeMnemonic(i); |
} |
- os << ")" << std::endl; |
+ os << ")"; |
+ if (NodeProperties::IsTyped(n)) { |
+ os << " [Type: "; |
+ NodeProperties::GetType(n)->PrintTo(os); |
+ os << "]"; |
+ } |
+ os << std::endl; |
} |
} |
return os; |