summaryrefslogtreecommitdiff
path: root/tools/opt/PrintSCC.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-22 21:33:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-22 21:33:09 +0000
commit3d5126fbad17647088b7335cd5fea178407211e2 (patch)
tree1a52e36acfe1992a11e24ead88e23bcfdc74a439 /tools/opt/PrintSCC.cpp
parent70c9d17f27d1ef89ed80566aeb529f68d2ad9480 (diff)
downloadllvm-3d5126fbad17647088b7335cd5fea178407211e2.tar.gz
llvm-3d5126fbad17647088b7335cd5fea178407211e2.tar.bz2
llvm-3d5126fbad17647088b7335cd5fea178407211e2.tar.xz
Switch some clients to Value::getName(), and other getName() user
simplification. - NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/PrintSCC.cpp')
-rw-r--r--tools/opt/PrintSCC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp
index 2d678ed0be..a0aa4e90e7 100644
--- a/tools/opt/PrintSCC.cpp
+++ b/tools/opt/PrintSCC.cpp
@@ -101,7 +101,7 @@ bool CallGraphSCC::runOnModule(Module &M) {
outs() << "\nSCC #" << ++sccNum << " : ";
for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(),
E = nextSCC.end(); I != E; ++I)
- outs() << ((*I)->getFunction() ? (*I)->getFunction()->getName()
+ outs() << ((*I)->getFunction() ? (*I)->getFunction()->getNameStr()
: std::string("Indirect CallGraph node")) << ", ";
if (nextSCC.size() == 1 && SCCI.hasLoop())
outs() << " (Has self-loop).";