diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-22 21:43:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 21:43:10 +0000 |
commit | 33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5 (patch) | |
tree | ff8c7ee33cfec48c89f7dbd8f59a8b64cac914d9 /lib/Target/Blackfin | |
parent | 90aa1f92c1e3a0fa9f66197ef851ab995afb37ae (diff) |
rename TAI -> MAI, being careful not to make MAILJMP instructions :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Blackfin')
-rw-r--r-- | lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp index 1286e01d95b..759726f5d6d 100644 --- a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp +++ b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp @@ -40,8 +40,8 @@ namespace { class VISIBILITY_HIDDEN BlackfinAsmPrinter : public AsmPrinter { public: BlackfinAsmPrinter(formatted_raw_ostream &O, TargetMachine &TM, - const MCAsmInfo *TAI, bool V) - : AsmPrinter(O, TM, TAI, V) {} + const MCAsmInfo *MAI, bool V) + : AsmPrinter(O, TM, MAI, V) {} virtual const char *getPassName() const { return "Blackfin Assembly Printer"; @@ -75,14 +75,14 @@ void BlackfinAsmPrinter::emitLinkage(const std::string &name, case GlobalValue::LinkerPrivateLinkage: break; case GlobalValue::ExternalLinkage: - O << TAI->getGlobalDirective() << name << "\n"; + O << MAI->getGlobalDirective() << name << "\n"; break; case GlobalValue::LinkOnceAnyLinkage: case GlobalValue::LinkOnceODRLinkage: case GlobalValue::WeakAnyLinkage: case GlobalValue::WeakODRLinkage: - O << TAI->getGlobalDirective() << name << "\n"; - O << TAI->getWeakDefDirective() << name << "\n"; + O << MAI->getGlobalDirective() << name << "\n"; + O << MAI->getWeakDefDirective() << name << "\n"; break; } } @@ -180,11 +180,11 @@ void BlackfinAsmPrinter::printOperand(const MachineInstr *MI, int opNum) { O << Mang->makeNameProper(MO.getSymbolName()); break; case MachineOperand::MO_ConstantPoolIndex: - O << TAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << "_" + O << MAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << "_" << MO.getIndex(); break; case MachineOperand::MO_JumpTableIndex: - O << TAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber() + O << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber() << '_' << MO.getIndex(); break; default: |