diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-03 01:35:15 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-03 01:35:15 +0000 |
commit | 2915eb44301f1943df870efe37c424a6e8bdacfe (patch) | |
tree | 73f778399d60947e414c52904926053759b93349 | |
parent | 0a2287b909634991a8e8aa7a93f81f09375227b1 (diff) |
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118141 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 8 | ||||
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index d20c989af2..4c233a6184 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -338,14 +338,6 @@ void ARMInstPrinter::printAddrMode6OffsetOperand(const MCInst *MI, O << ", " << getRegisterName(MO.getReg()); } -void ARMInstPrinter::printAddrModePCOperand(const MCInst *MI, unsigned OpNum, - raw_ostream &O) { - // 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. - llvm_unreachable("Unhandled PC-relative pseudo-instruction!"); -} - void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O) { diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index 1737c54aa6..f4382b0e51 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h @@ -50,7 +50,6 @@ public: void printAddrMode6Operand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printAddrMode6OffsetOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); - void printAddrModePCOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printBitfieldInvMaskImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); |