aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/AsmPrinter
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-16 17:43:25 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-16 17:43:25 +0000
commit5c858c88cc35391d076280f8f9227b212467d822 (patch)
tree7b58de01fba220dd36b203422f4d0886b50ec5c5 /lib/Target/ARM/AsmPrinter
parentec961d7f4fcc2b9172c1eec42c1e09fca56ad18d (diff)
downloadexternal_llvm-5c858c88cc35391d076280f8f9227b212467d822.zip
external_llvm-5c858c88cc35391d076280f8f9227b212467d822.tar.gz
external_llvm-5c858c88cc35391d076280f8f9227b212467d822.tar.bz2
MC-ization of the PICLDR pseudo. Next up, adding the other variants
(PICLDRB, et. al.) and PICSTR* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter')
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 37c4f75..2e48905 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -384,7 +384,10 @@ void ARMInstPrinter::printAddrMode6OffsetOperand(const MCInst *MI,
void ARMInstPrinter::printAddrModePCOperand(const MCInst *MI, unsigned OpNum,
raw_ostream &O,
const char *Modifier) {
- assert(0 && "FIXME: Implement printAddrModePCOperand");
+ // All instructions using addrmodepc are pseudos and should have been
+ // handled explicitly in printInstructionThroughMCStreamer(). If one got
+ // here, it wasn't, so something's wrong.
+ assert(0 && "Unhandled addrmodepc operand!");
}
void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI,