aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp8
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMInstPrinter.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 7397c4c6bd..f97bf0b3d6 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -731,11 +731,3 @@ void ARMInstPrinter::printNEONModImmOperand(const MCInst *MI, unsigned OpNum,
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 ea0c7d600c..7bfb757cf3 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
+++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
@@ -109,7 +109,7 @@ public:
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) {}
};
}