Index: src/compiler/graph-visualizer.cc |
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc |
index bb8ff6df84b5fbdad6eafa501abde00dfd13f696..97fb8322c333c6e972a606c98f450fef90c5aad1 100644 |
--- a/src/compiler/graph-visualizer.cc |
+++ b/src/compiler/graph-visualizer.cc |
@@ -541,11 +541,13 @@ void GraphC1Visualizer::PrintInputs(Node* node) { |
void GraphC1Visualizer::PrintType(Node* node) { |
- Bounds bounds = NodeProperties::GetBounds(node); |
- os_ << " type:"; |
- bounds.upper->PrintTo(os_); |
- os_ << ".."; |
- bounds.lower->PrintTo(os_); |
+ if (NodeProperties::IsTyped(node)) { |
+ Bounds bounds = NodeProperties::GetBounds(node); |
+ os_ << " type:"; |
+ bounds.upper->PrintTo(os_); |
+ os_ << ".."; |
+ bounds.lower->PrintTo(os_); |
+ } |
} |