summaryrefslogtreecommitdiff
path: root/lib/Analysis/CFGPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-06 06:16:21 +0000
committerChris Lattner <sabre@nondot.org>2006-12-06 06:16:21 +0000
commit3749c9cae41d2e682f67a41b07e0c50b46dbb000 (patch)
tree5edeefa650388eb317fc3d8edb9e081aa48a7716 /lib/Analysis/CFGPrinter.cpp
parenta6b1ffcfaaaf698386243a36992193a3c2c86766 (diff)
downloadllvm-3749c9cae41d2e682f67a41b07e0c50b46dbb000.tar.gz
llvm-3749c9cae41d2e682f67a41b07e0c50b46dbb000.tar.bz2
llvm-3749c9cae41d2e682f67a41b07e0c50b46dbb000.tar.xz
Remove the 'printname' argument to WriteAsOperand. It is always true, and
passing false would make the asmprinter fail anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFGPrinter.cpp')
-rw-r--r--lib/Analysis/CFGPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CFGPrinter.cpp b/lib/Analysis/CFGPrinter.cpp
index 3f6846e1f6..bfc71c6686 100644
--- a/lib/Analysis/CFGPrinter.cpp
+++ b/lib/Analysis/CFGPrinter.cpp
@@ -50,12 +50,12 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
std::ostringstream Out;
if (CFGOnly) {
- WriteAsOperand(Out, Node, false, true);
+ WriteAsOperand(Out, Node, false);
return Out.str();
}
if (Node->getName().empty()) {
- WriteAsOperand(Out, Node, false, true);
+ WriteAsOperand(Out, Node, false);
Out << ":";
}