Print argument scalars as ellipses instead of boxes
authorChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 18:14:19 +0000 (18:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Apr 2002 18:14:19 +0000 (18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2293 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/NodeImpl.cpp

index 66bd8898b1c30802b2fc08c50fbf56347db827db..46c12e3b8ac93e3418d2a52cbb1d58f98551c6ab 100644 (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";