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 | edcc8c2f8be3686edf9f523b0b4ff1bd4e2e3714 (patch) | |
tree | 22bc47ddf1be86ea73669b96fbf2b8bf9240004a /llvm/lib/Analysis/DataStructure | |
parent | 0dda861de555649103eced408c9ce00fe6b68c27 (diff) | |
download | bcm5719-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/DataStructure')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/Printer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Printer.cpp b/llvm/lib/Analysis/DataStructure/Printer.cpp index ef3ed755559..af358bfbb33 100644 --- a/llvm/lib/Analysis/DataStructure/Printer.cpp +++ b/llvm/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 |