Reintroduce VirtRegRewriter.
[oota-llvm.git] / lib / CodeGen / VirtRegMap.h
index 8cac31137e3da43dfe3ae5c3deed7c81f59137ca..c3209854a48039a2ad70e39c3adb315d8b412469 100644 (file)
@@ -177,13 +177,6 @@ namespace llvm {
     /// the specified stack slot
     void assignVirt2StackSlot(unsigned virtReg, int frameIndex);
 
-    /// rewrite - Rewrite all instructions in MF to use only physical registers
-    /// by mapping all virtual register operands to their assigned physical
-    /// registers.
-    ///
-    /// @param Indexes Optionally remove deleted instructions from indexes.
-    void rewrite(SlotIndexes *Indexes);
-
     void print(raw_ostream &OS, const Module* M = 0) const;
     void dump() const;
   };