Print argument scalars as ellipses instead of boxes

llvm-svn: 2293
This commit is contained in:
Chris Lattner 2002-04-18 18:14:19 +00:00
parent 260ab20422
commit a2cdf2fb10
1 changed files with 2 additions and 1 deletions

View File

@ -328,7 +328,8 @@ void FunctionDSGraph::printFunction(std::ostream &O,
WriteTypeSymbolic(OS, I->first->getType(), Func->getParent());
// Create node for I->first
O << "\t\tNode" << (void*)I->first << Label << " [shape=\"box\", label=\""
O << "\t\tNode" << (void*)I->first << Label << " [shape=\""
<< (isa<Argument>(I->first) ? "ellipse" : "box") << "\", label=\""
<< escapeLabel(OS.str()) << "\\n%" << escapeLabel(I->first->getName())
<< "\",fontsize=\"12.0\",color=\"gray70\"];\n";