From e24a8e4421ca8db64fb11281753dddbb8d098f49 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 22 Jul 2009 21:33:09 +0000 Subject: 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 --- tools/opt/PrintSCC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/opt') diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index 2d678ed..a0aa4e9 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::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)."; -- cgit v1.1