projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Win32 support to llvm::llvm_execute_on_thread(). Thanks to Aaron Ballman!
[oota-llvm.git]
/
lib
/
MC
/
MCInstPrinter.cpp
diff --git
a/lib/MC/MCInstPrinter.cpp
b/lib/MC/MCInstPrinter.cpp
index 92a71541f5ad460f7589d107ee1b3d4b3eb57b44..e15e10761699473f0959ab9e4c92610572877ef0 100644
(file)
--- a/
lib/MC/MCInstPrinter.cpp
+++ b/
lib/MC/MCInstPrinter.cpp
@@
-9,6
+9,7
@@
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
MCInstPrinter::~MCInstPrinter() {
using namespace llvm;
MCInstPrinter::~MCInstPrinter() {
@@
-19,3
+20,11
@@
MCInstPrinter::~MCInstPrinter() {
StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
return "";
}
StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
return "";
}
+
+void MCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
+ assert(0 && "Target should implement this");
+}
+
+void MCInstPrinter::printAnnotation(raw_ostream &OS, StringRef Annot) {
+ if (!Annot.empty()) OS << Annot << "\n";
+}