summaryrefslogtreecommitdiff
path: root/lib/MC/MCInstPrinter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-06-02 02:34:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-06-02 02:34:55 +0000
commitcde4ce411b1ace4a80ea1dd38df97e8508aed0c9 (patch)
treea560b88834f814357d15c130319ef3d70502ca94 /lib/MC/MCInstPrinter.cpp
parent491a13691d3b30b8288dfc6e01ad6a58f69a4ce6 (diff)
downloadllvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.tar.gz
llvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.tar.bz2
llvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.tar.xz
Don't hardcode the %reg format in the streamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCInstPrinter.cpp')
-rw-r--r--lib/MC/MCInstPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MC/MCInstPrinter.cpp b/lib/MC/MCInstPrinter.cpp
index 212b85eb1f..81a939ffaa 100644
--- a/lib/MC/MCInstPrinter.cpp
+++ b/lib/MC/MCInstPrinter.cpp
@@ -20,7 +20,6 @@ StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
return "";
}
-StringRef MCInstPrinter::getRegName(unsigned RegNo) const {
+void MCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
assert(0 && "Target should implement this");
- return "";
}