Generate native unwind info on Win64
[oota-llvm.git] / include / llvm / MC / MCInstBuilder.h
index 7d4a9d0ba07b14478ab400d0e4fc8f2ee709362e..c5acb26eecac3e2a63d2e8870e868eca17626e89 100644 (file)
@@ -16,7 +16,6 @@
 #define LLVM_MC_MCINSTBUILDER_H
 
 #include "llvm/MC/MCInst.h"
-#include "llvm/MC/MCStreamer.h"
 
 namespace llvm {
 
@@ -59,9 +58,8 @@ public:
     return *this;
   }
 
-  /// \brief Emit the built instruction to an MCStreamer.
-  void emit(MCStreamer &OutStreamer) {
-    OutStreamer.EmitInstruction(Inst);
+  operator MCInst&() {
+    return Inst;
   }
 };