summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetInstrInfo.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/TargetInstrInfo.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/TargetInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetInstrInfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp
index af8ef6ec1fe..094a57edb41 100644
--- a/llvm/lib/Target/TargetInstrInfo.cpp
+++ b/llvm/lib/Target/TargetInstrInfo.cpp
@@ -73,21 +73,21 @@ bool TargetInstrInfo::isUnpredicatedTerminator(const MachineInstr *MI) const {
/// Variable-length instructions are not handled here; this function
/// may be overloaded in the target code to do that.
unsigned TargetInstrInfo::getInlineAsmLength(const char *Str,
- const MCAsmInfo &TAI) const {
+ const MCAsmInfo &MAI) const {
// Count the number of instructions in the asm.
bool atInsnStart = true;
unsigned Length = 0;
for (; *Str; ++Str) {
- if (*Str == '\n' || *Str == TAI.getSeparatorChar())
+ if (*Str == '\n' || *Str == MAI.getSeparatorChar())
atInsnStart = true;
if (atInsnStart && !isspace(*Str)) {
- Length += TAI.getMaxInstLength();
+ Length += MAI.getMaxInstLength();
atInsnStart = false;
}
- if (atInsnStart && strncmp(Str, TAI.getCommentString(),
- strlen(TAI.getCommentString())) == 0)
+ if (atInsnStart && strncmp(Str, MAI.getCommentString(),
+ strlen(MAI.getCommentString())) == 0)
atInsnStart = false;
}
OpenPOWER on IntegriCloud