diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-18 18:14:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-18 18:14:19 +0000 |
commit | a2cdf2fb10e6f79e1063d1054c011c3d419dacec (patch) | |
tree | f38e700587c16578d5dc75ae7b857e4cead1c8a3 | |
parent | 260ab20422de3a6f93ee974087a5a9c3d745eeee (diff) | |
download | bcm5719-llvm-a2cdf2fb10e6f79e1063d1054c011c3d419dacec.tar.gz bcm5719-llvm-a2cdf2fb10e6f79e1063d1054c011c3d419dacec.zip |
Print argument scalars as ellipses instead of boxes
llvm-svn: 2293
-rw-r--r-- | llvm/lib/Analysis/DataStructure/NodeImpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/NodeImpl.cpp b/llvm/lib/Analysis/DataStructure/NodeImpl.cpp index 66bd8898b1c..46c12e3b8ac 100644 --- a/llvm/lib/Analysis/DataStructure/NodeImpl.cpp +++ b/llvm/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"; |