summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-22 21:43:10 +0000
committerChris Lattner <sabre@nondot.org>2009-08-22 21:43:10 +0000
commit33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5 (patch)
treeff8c7ee33cfec48c89f7dbd8f59a8b64cac914d9 /lib/Target/MSP430/AsmPrinter
parent90aa1f92c1e3a0fa9f66197ef851ab995afb37ae (diff)
downloadllvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.gz
llvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.bz2
llvm-33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5.tar.xz
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/MSP430/AsmPrinter')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index a17b2b4ff5..8724eefc69 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -44,8 +44,8 @@ namespace {
class VISIBILITY_HIDDEN MSP430AsmPrinter : public AsmPrinter {
public:
MSP430AsmPrinter(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 "MSP430 Assembly Printer";
@@ -132,7 +132,7 @@ bool MSP430AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
printMachineInstruction(II);
}
- if (TAI->hasDotTypeDotSizeDirective())
+ if (MAI->hasDotTypeDotSizeDirective())
O << "\t.size\t" << CurrentFnName << ", .-" << CurrentFnName << '\n';
// We didn't modify anything
@@ -180,7 +180,7 @@ void MSP430AsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
}
case MachineOperand::MO_ExternalSymbol: {
bool isCallOp = Modifier && !strcmp(Modifier, "call");
- std::string Name(TAI->getGlobalPrefix());
+ std::string Name(MAI->getGlobalPrefix());
Name += MO.getSymbolName();
if (isCallOp)
O << '#';