Implement the StartChained and EndChained Win64 EH methods on MCStreamer.
[oota-llvm.git] / include / llvm / MC / MCInst.h
index 76515488ec42a2d0671c17ba05f1d4eb5ee0f83c..d6ef7b4c33c1f0e03c59742e275dec8ac3af42db 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
 
 namespace llvm {
 class raw_ostream;
@@ -155,6 +155,15 @@ public:
                    StringRef Separator = " ") const;
 };
 
+inline raw_ostream& operator<<(raw_ostream &OS, const MCOperand &MO) {
+  MO.print(OS, 0);
+  return OS;
+}
+
+inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) {
+  MI.print(OS, 0);
+  return OS;
+}
 
 } // end namespace llvm