Now that the pseudos that needed this are all custom lowered, we can go back
to an empty PrintSpecial()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115128 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 7397c4c..f97bf0b 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -731,11 +731,3 @@
uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits);
O << "#0x" << utohexstr(Val);
}
-
-void ARMInstPrinter::PrintSpecial(const MCInst *MI, raw_ostream &O,
- const char *Kind) {
- if (strcmp(Kind, "comment") == 0)
- O << "@";
- else
- abort();
-}
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
index ea0c7d6..7bfb757 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
+++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
@@ -109,7 +109,7 @@
void printNEONModImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printPCLabel(const MCInst *MI, unsigned OpNum, raw_ostream &O);
- void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Kind);
+ void PrintSpecial(const MCInst *MI, raw_ostream &O, const char *Kind) {}
};
}