aboutsummaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-30 02:02:22 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-30 02:02:22 +0000
commita4e97de71d7dd890eb9f705710bd094f0fa7ac49 (patch)
tree89a7fb700e33585cb305da3aa7426e899551c26d /lib/Target
parent2317e40539aac11da00bd587b5f0def04d989769 (diff)
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
Diffstat (limited to 'lib/Target')
-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) {}
};
}