Fix bug in graph visualizer.
R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/526373002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
6b99211112
commit
eb2fdf106e
@ -209,14 +209,14 @@ void GraphVisualizer::PrintEdge(Node::Edge edge) {
|
||||
(OperatorProperties::GetControlInputCount(from->op()) > 0 &&
|
||||
NodeProperties::GetControlInput(from) != to)) {
|
||||
os_ << ":I" << index << ":n -> ID" << to->id() << ":s"
|
||||
<< "[" << (unconstrained ? "constraint=false" : "")
|
||||
<< (NodeProperties::IsControlEdge(edge) ? "style=bold" : "")
|
||||
<< (NodeProperties::IsEffectEdge(edge) ? "style=dotted" : "")
|
||||
<< (NodeProperties::IsContextEdge(edge) ? "style=dashed" : "") << "]";
|
||||
<< "[" << (unconstrained ? "constraint=false, " : "")
|
||||
<< (NodeProperties::IsControlEdge(edge) ? "style=bold, " : "")
|
||||
<< (NodeProperties::IsEffectEdge(edge) ? "style=dotted, " : "")
|
||||
<< (NodeProperties::IsContextEdge(edge) ? "style=dashed, " : "") << "]";
|
||||
} else {
|
||||
os_ << " -> ID" << to->id() << ":s [color=transparent"
|
||||
<< (unconstrained ? ", constraint=false" : "")
|
||||
<< (NodeProperties::IsControlEdge(edge) ? ", style=dashed" : "") << "]";
|
||||
os_ << " -> ID" << to->id() << ":s [color=transparent, "
|
||||
<< (unconstrained ? "constraint=false, " : "")
|
||||
<< (NodeProperties::IsControlEdge(edge) ? "style=dashed, " : "") << "]";
|
||||
}
|
||||
os_ << "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user