projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix thinko.
[oota-llvm.git]
/
lib
/
MC
/
MCInstPrinter.cpp
diff --git
a/lib/MC/MCInstPrinter.cpp
b/lib/MC/MCInstPrinter.cpp
index 6c33216d53e2347b1f47ff9ff39f493cb25f8c07..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() {
-}
\ No newline at end of file
+}
+
+/// 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 "";
+}