Reland r229944: EH: Prune unreachable resume instructions during Dwarf EH preparation
[oota-llvm.git] / include / llvm / CodeGen / MachineInstrBuilder.h
index f0702b88355cf26b4f9ed38bb19f47fceff08cef..8859b6a019ea4359e33e29b8c6c26c8811b71d87 100644 (file)
@@ -58,6 +58,10 @@ public:
   MachineInstr *operator->() const { return MI; }
   operator MachineBasicBlock::iterator() const { return MI; }
 
+  /// If conversion operators fail, use this method to get the MachineInstr
+  /// explicitly.
+  MachineInstr *getInstr() const { return MI; }
+
   /// addReg - Add a new virtual register operand...
   ///
   const