mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Add virtual printMCInst method to AsmPrinter, as a quick way to expose the API
to print one instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1738,6 +1738,10 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user