diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-08 21:08:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-08 21:08:43 +0000 |
commit | 42d712b3067ec14170f80d8adfc7e5ad5878132b (patch) | |
tree | 672cc1ae7f6ad0f73bde52a9f25bbcc03d64370d /lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | f88b3a5698dc419f5f2c48e39e4058577599fa00 (diff) | |
download | external_llvm-42d712b3067ec14170f80d8adfc7e5ad5878132b.zip external_llvm-42d712b3067ec14170f80d8adfc7e5ad5878132b.tar.gz external_llvm-42d712b3067ec14170f80d8adfc7e5ad5878132b.tar.bz2 |
Switch BCC, MOVCCr, etc. to PredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 9454fb7..0f0a541 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -101,7 +101,7 @@ namespace { void printThumbAddrModeS2Operand(const MachineInstr *MI, int OpNo); void printThumbAddrModeS4Operand(const MachineInstr *MI, int OpNo); void printThumbAddrModeSPOperand(const MachineInstr *MI, int OpNo); - void printCCOperand(const MachineInstr *MI, int opNum); + void printPredicateOperand(const MachineInstr *MI, int opNum); void printPCLabel(const MachineInstr *MI, int opNum); void printRegisterList(const MachineInstr *MI, int opNum); void printCPInstOperand(const MachineInstr *MI, int opNum, @@ -613,7 +613,7 @@ void ARMAsmPrinter::printThumbAddrModeSPOperand(const MachineInstr *MI,int Op) { O << "]"; } -void ARMAsmPrinter::printCCOperand(const MachineInstr *MI, int opNum) { +void ARMAsmPrinter::printPredicateOperand(const MachineInstr *MI, int opNum) { int CC = (int)MI->getOperand(opNum).getImmedValue(); O << ARMCondCodeToString((ARMCC::CondCodes)CC); } |