From 595d2f670a5685c41c700556454edd862a6aeec4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 18 Apr 2002 18:14:19 +0000 Subject: [PATCH] Print argument scalars as ellipses instead of boxes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2293 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/NodeImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/NodeImpl.cpp b/lib/Analysis/DataStructure/NodeImpl.cpp index 66bd8898b1c..46c12e3b8ac 100644 --- a/lib/Analysis/DataStructure/NodeImpl.cpp +++ b/lib/Analysis/DataStructure/NodeImpl.cpp @@ -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(I->first) ? "ellipse" : "box") << "\", label=\"" << escapeLabel(OS.str()) << "\\n%" << escapeLabel(I->first->getName()) << "\",fontsize=\"12.0\",color=\"gray70\"];\n";