mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
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
This commit is contained in:
@@ -321,12 +321,6 @@ namespace llvm {
|
|||||||
/// EmitComments - Pretty-print comments for basic blocks
|
/// EmitComments - Pretty-print comments for basic blocks
|
||||||
void EmitComments(const MachineBasicBlock &MBB) const;
|
void EmitComments(const MachineBasicBlock &MBB) const;
|
||||||
|
|
||||||
/// printMCInst - Print an MCInst for this target.
|
|
||||||
///
|
|
||||||
/// Note, this is only a temporary hack to allow the MCStreamer to print
|
|
||||||
/// instructions, do not use this function outside of llvm-mc.
|
|
||||||
virtual void printMCInst(const MCInst *MI);
|
|
||||||
|
|
||||||
/// GetMBBSymbol - Return the MCSymbol corresponding to the specified basic
|
/// GetMBBSymbol - Return the MCSymbol corresponding to the specified basic
|
||||||
/// block label.
|
/// block label.
|
||||||
MCSymbol *GetMBBSymbol(unsigned MBBID) const;
|
MCSymbol *GetMBBSymbol(unsigned MBBID) const;
|
||||||
|
@@ -1711,10 +1711,6 @@ void AsmPrinter::printOffset(int64_t Offset) const {
|
|||||||
O << Offset;
|
O << Offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AsmPrinter::printMCInst(const MCInst *MI) {
|
|
||||||
llvm_unreachable("MCInst printing unavailable on this target!");
|
|
||||||
}
|
|
||||||
|
|
||||||
GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy *S) {
|
GCMetadataPrinter *AsmPrinter::GetOrCreateGCPrinter(GCStrategy *S) {
|
||||||
if (!S->usesMetadata())
|
if (!S->usesMetadata())
|
||||||
return 0;
|
return 0;
|
||||||
|
@@ -63,8 +63,7 @@ class VISIBILITY_HIDDEN X86ATTAsmPrinter : public AsmPrinter {
|
|||||||
void printInstructionThroughMCStreamer(const MachineInstr *MI);
|
void printInstructionThroughMCStreamer(const MachineInstr *MI);
|
||||||
|
|
||||||
|
|
||||||
// FIXME: REMOVE.
|
void printMCInst(const MCInst *MI);
|
||||||
virtual void printMCInst(const MCInst *MI);
|
|
||||||
|
|
||||||
void printSymbolOperand(const MachineOperand &MO);
|
void printSymbolOperand(const MachineOperand &MO);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user