aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/NodeImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/DataStructure/NodeImpl.cpp')
-rw-r--r--lib/Analysis/DataStructure/NodeImpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/NodeImpl.cpp b/lib/Analysis/DataStructure/NodeImpl.cpp
index 66bd8898b1..46c12e3b8a 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<Argument>(I->first) ? "ellipse" : "box") << "\", label=\""
<< escapeLabel(OS.str()) << "\\n%" << escapeLabel(I->first->getName())
<< "\",fontsize=\"12.0\",color=\"gray70\"];\n";