diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-06 06:16:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-06 06:16:21 +0000 |
commit | 3749c9cae41d2e682f67a41b07e0c50b46dbb000 (patch) | |
tree | 5edeefa650388eb317fc3d8edb9e081aa48a7716 /lib/Analysis/DataStructure | |
parent | a6b1ffcfaaaf698386243a36992193a3c2c86766 (diff) |
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/DataStructure')
-rw-r--r-- | lib/Analysis/DataStructure/Printer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index ef3ed75555..af358bfbb3 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -81,7 +81,7 @@ static std::string getCaption(const DSNode *N, const DSGraph *G) { if (G) GlobalECs = &G->getGlobalECs(); for (unsigned i = 0, e = N->getGlobalsList().size(); i != e; ++i) { - WriteAsOperand(OS, N->getGlobalsList()[i], false, true, M); + WriteAsOperand(OS, N->getGlobalsList()[i], false, M); // Figure out how many globals are equivalent to this one. if (GlobalECs) { @@ -157,7 +157,7 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits { for (DSGraph::ScalarMapTy::const_iterator I = VM.begin(); I != VM.end();++I) if (!isa<GlobalValue>(I->first)) { std::stringstream OS; - WriteAsOperand(OS, I->first, false, true, CurMod); + WriteAsOperand(OS, I->first, false, CurMod); GW.emitSimpleNode(I->first, "", OS.str()); // Add edge from return node to real destination |