Remove the SavePoint infrastructure from fast isel, replace
[oota-llvm.git] / include / llvm / CodeGen / FastISel.h
index 7cb96952aa6168af3c74bf7aefd9aad568be5464..7f240f563ada136641f2814def17bf1219b16575 100644 (file)
@@ -131,17 +131,12 @@ public:
   /// into the current block.
   void recomputeInsertPt();
 
-  struct SavePoint {
-    MachineBasicBlock::iterator InsertPt;
-    DebugLoc DL;
-  };
-
   /// enterLocalValueArea - Prepare InsertPt to begin inserting instructions
   /// into the local value area and return the old insert position.
-  SavePoint enterLocalValueArea();
+  MachineBasicBlock::iterator enterLocalValueArea();
 
   /// leaveLocalValueArea - Reset InsertPt to the given old insert position.
-  void leaveLocalValueArea(SavePoint Old);
+  void leaveLocalValueArea(MachineBasicBlock::iterator Old);
 
   virtual ~FastISel();