summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitedcc8c2f8be3686edf9f523b0b4ff1bd4e2e3714 (patch)
tree22bc47ddf1be86ea73669b96fbf2b8bf9240004a /llvm/lib/Analysis/CFGPrinter.cpp
parent0dda861de555649103eced408c9ce00fe6b68c27 (diff)
downloadbcm5719-llvm-edcc8c2f8be3686edf9f523b0b4ff1bd4e2e3714.tar.gz
bcm5719-llvm-edcc8c2f8be3686edf9f523b0b4ff1bd4e2e3714.zip
Remove the 'printname' argument to WriteAsOperand. It is always true, and
passing false would make the asmprinter fail anyway. llvm-svn: 32264
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 3f6846e1f6e..bfc71c6686c 100644
--- a/llvm/lib/Analysis/CFGPrinter.cpp
+++ b/llvm/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 << ":";
}
OpenPOWER on IntegriCloud