X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FMC%2FMCInstPrinter.cpp;h=92a71541f5ad460f7589d107ee1b3d4b3eb57b44;hb=cecbc3d28277ff4916326311cbf87335ed05d106;hp=6c33216d53e2347b1f47ff9ff39f493cb25f8c07;hpb=65b0b297db16252835ab4d78f33578baa3ace28a;p=oota-llvm.git diff --git a/lib/MC/MCInstPrinter.cpp b/lib/MC/MCInstPrinter.cpp index 6c33216d53e..92a71541f5a 100644 --- a/lib/MC/MCInstPrinter.cpp +++ b/lib/MC/MCInstPrinter.cpp @@ -8,7 +8,14 @@ //===----------------------------------------------------------------------===// #include "llvm/MC/MCInstPrinter.h" +#include "llvm/ADT/StringRef.h" 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 ""; +}