projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MC/AsmParser: Add basic parsing support for .macro definitions.
[oota-llvm.git]
/
lib
/
MC
/
MCInstPrinter.cpp
diff --git
a/lib/MC/MCInstPrinter.cpp
b/lib/MC/MCInstPrinter.cpp
index e90c03c0cf42612dbe79aec4bf05b7c543391835..92a71541f5ad460f7589d107ee1b3d4b3eb57b44 100644
(file)
--- a/
lib/MC/MCInstPrinter.cpp
+++ b/
lib/MC/MCInstPrinter.cpp
@@
-8,7
+8,14
@@
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCInstPrinter.h"
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCInstPrinter.h"
+#include "llvm/ADT/StringRef.h"
using namespace llvm;
MCInstPrinter::~MCInstPrinter() {
}
using namespace llvm;
MCInstPrinter::~MCInstPrinter() {
}
+
+/// getOpcodeName - Return the name of the specified opcode enum (e.g.
+/// "MOV32ri") or empty if we can't resolve it.
+StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
+ return "";
+}