diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-16 04:57:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-16 04:57:15 +0000 |
commit | 4edd187ddddc38540dd020c5cadef70bc5934b1e (patch) | |
tree | de200c8732f1ee60258e34bd1cb49ca5ccb8489c /lib | |
parent | 11189220e66004b94276731bb1b1b657412434e2 (diff) |
remove the AsmPrinter::printMCInst hook hack now that
we have MCInstPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 | ||||
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index ef43c352ac..6a9428737f 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1711,10 +1711,6 @@ void AsmPrinter::printOffset(int64_t Offset) const { O << Offset; } -void AsmPrinter::printMCInst(const MCInst *MI) { - llvm_unreachable("MCInst printing unavailable on this target!"); -} - GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy *S) { if (!S->usesMetadata()) return 0; diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h index 12c3d1168e..33042dc759 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h @@ -63,8 +63,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter { void printInstructionThroughMCStreamer(const MachineInstr *MI); - // FIXME: REMOVE. - virtual void printMCInst(const MCInst *MI); + void printMCInst(const MCInst *MI); void printSymbolOperand(const MachineOperand &MO); |