hoist the new isel interpreter out of DAGISelHeader.h
[oota-llvm.git] / lib / MC / MCInstPrinter.cpp
index e90c03c0cf42612dbe79aec4bf05b7c543391835..92a71541f5ad460f7589d107ee1b3d4b3eb57b44 100644 (file)
@@ -8,7 +8,14 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/MC/MCInstPrinter.h"
+#include "llvm/ADT/StringRef.h"
 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 "";
+}