summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
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
commite9a75a6654b7b42f41e6c8d298dc89e0c347c6bd (patch)
treeaac669bd6d1440700c4d957978b4cf7946206d65 /llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
parentcbf10f5de597502d4f59e988b7e3e3a32c83de0f (diff)
downloadbcm5719-llvm-e9a75a6654b7b42f41e6c8d298dc89e0c347c6bd.tar.gz
bcm5719-llvm-e9a75a6654b7b42f41e6c8d298dc89e0c347c6bd.zip
rename TAI -> MAI, being careful not to make MAILJMP instructions :)
llvm-svn: 79777
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
index 2362e776210..d5ceedb1e86 100644
--- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -405,7 +405,7 @@ static unsigned getNumJTEntries(const std::vector<MachineJumpTableEntry> &JT,
unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
const MachineBasicBlock &MBB = *MI->getParent();
const MachineFunction *MF = MBB.getParent();
- const MCAsmInfo *TAI = MF->getTarget().getMCAsmInfo();
+ const MCAsmInfo *MAI = MF->getTarget().getMCAsmInfo();
// Basic size info comes from the TSFlags field.
const TargetInstrDesc &TID = MI->getDesc();
@@ -416,7 +416,7 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
default: {
// If this machine instr is an inline asm, measure it.
if (MI->getOpcode() == ARM::INLINEASM)
- return getInlineAsmLength(MI->getOperand(0).getSymbolName(), *TAI);
+ return getInlineAsmLength(MI->getOperand(0).getSymbolName(), *MAI);
if (MI->isLabel())
return 0;
switch (Opc) {
OpenPOWER on IntegriCloud