From 218e22da8b252de24ddafbdeedeaf50ab7527b87 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 16 Sep 2010 17:43:25 +0000 Subject: MC-ization of the PICLDR pseudo. Next up, adding the other variants (PICLDRB, et. al.) and PICSTR* llvm-svn: 114098 --- llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target/ARM/AsmPrinter') diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp index 37c4f75e822..2e48905791c 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp +++ b/llvm/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, -- cgit v1.2.3