aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:33:02 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:33:02 +0000
commit92dfe2001e96f6e2b6d327e8816f38033f88b295 (patch)
tree14670779a18a50be87d7bbd426a595a04ca6ed77 /lib/Target/PowerPC/PPCAsmPrinter.cpp
parent693f541526cdd5f084adc5b8a5a5b290401a0b8e (diff)
downloadexternal_llvm-92dfe2001e96f6e2b6d327e8816f38033f88b295.zip
external_llvm-92dfe2001e96f6e2b6d327e8816f38033f88b295.tar.gz
external_llvm-92dfe2001e96f6e2b6d327e8816f38033f88b295.tar.bz2
Remove isReg, isImm, and isMBB, and change all their users to use
isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 102249c..1bfa23b 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -450,7 +450,7 @@ bool PPCAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
case 'I':
// Write 'i' if an integer constant, otherwise nothing. Used to print
// addi vs add, etc.
- if (MI->getOperand(OpNo).isImm())
+ if (MI->getOperand(OpNo).isImmediate())
O << "i";
return false;
}