mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
PC-relative pseudo instructions are lowered and printed directly. Any encounter
with one in the generic printing code is an error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -387,7 +387,7 @@ void ARMInstPrinter::printAddrModePCOperand(const MCInst *MI, unsigned OpNum,
|
|||||||
// All instructions using addrmodepc are pseudos and should have been
|
// All instructions using addrmodepc are pseudos and should have been
|
||||||
// handled explicitly in printInstructionThroughMCStreamer(). If one got
|
// handled explicitly in printInstructionThroughMCStreamer(). If one got
|
||||||
// here, it wasn't, so something's wrong.
|
// here, it wasn't, so something's wrong.
|
||||||
assert(0 && "Unhandled addrmodepc operand!");
|
llvm_unreachable("Unhandled PC-relative pseudo-instruction!");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI,
|
void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI,
|
||||||
@@ -522,8 +522,7 @@ void ARMInstPrinter::printNoHashImmediate(const MCInst *MI, unsigned OpNum,
|
|||||||
|
|
||||||
void ARMInstPrinter::printPCLabel(const MCInst *MI, unsigned OpNum,
|
void ARMInstPrinter::printPCLabel(const MCInst *MI, unsigned OpNum,
|
||||||
raw_ostream &O) {
|
raw_ostream &O) {
|
||||||
// FIXME: remove this.
|
llvm_unreachable("Unhandled PC-relative pseudo-instruction!");
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARMInstPrinter::printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum,
|
void ARMInstPrinter::printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum,
|
||||||
|
Reference in New Issue
Block a user