Revision: 24650
Author:   [email protected]
Date:     Thu Oct 16 06:59:39 2014 UTC
Log:      [turbofan] Fix GraphC1Visualizer::PrintType().

[email protected]

Review URL: https://codereview.chromium.org/657993003
https://code.google.com/p/v8/source/detail?r=24650

Modified:
 /branches/bleeding_edge/src/compiler/graph-visualizer.cc

=======================================
--- /branches/bleeding_edge/src/compiler/graph-visualizer.cc Wed Oct 15 11:38:04 2014 UTC +++ /branches/bleeding_edge/src/compiler/graph-visualizer.cc Thu Oct 16 06:59:39 2014 UTC
@@ -541,11 +541,13 @@


 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_);
+  }
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to