mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user