summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFGPrinter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
commit4c93d15f09bca663756808e4a318f52c705107df (patch)
treecf23e0c9da4ea8faf20db5757b85b100db8b8a38 /llvm/lib/Analysis/CFGPrinter.cpp
parent6c8f07ff46c8cd41d120f9ab001f8b647961532b (diff)
downloadbcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.tar.gz
bcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.zip
Twinify GraphWriter a little bit.
llvm-svn: 144647
Diffstat (limited to 'llvm/lib/Analysis/CFGPrinter.cpp')
-rw-r--r--llvm/lib/Analysis/CFGPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp
index 7bb063fbbbc..e01188c427d 100644
--- a/llvm/lib/Analysis/CFGPrinter.cpp
+++ b/llvm/lib/Analysis/CFGPrinter.cpp
@@ -143,7 +143,7 @@ INITIALIZE_PASS(CFGOnlyPrinter, "dot-cfg-only",
/// being a 'dot' and 'gv' program in your path.
///
void Function::viewCFG() const {
- ViewGraph(this, "cfg" + getNameStr());
+ ViewGraph(this, "cfg" + getName());
}
/// viewCFGOnly - This function is meant for use from the debugger. It works
@@ -152,7 +152,7 @@ void Function::viewCFG() const {
/// his can make the graph smaller.
///
void Function::viewCFGOnly() const {
- ViewGraph(this, "cfg" + getNameStr(), true);
+ ViewGraph(this, "cfg" + getName(), true);
}
FunctionPass *llvm::createCFGPrinterPass () {
OpenPOWER on IntegriCloud