Delete the RegScavenging constructor that takes a MachineBasicBlock
authorDan Gohman <gohman@apple.com>
Fri, 19 Dec 2008 00:34:32 +0000 (00:34 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 19 Dec 2008 00:34:32 +0000 (00:34 +0000)
argument. Nothing was using it, and it set the MBB member without
calling enterBasicBlock, which was problematic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61234 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/RegisterScavenging.h

index 0108dcd0463a1fa8837abb17aa14ae93311c34d8..40dd66c06a77d8df144fe49570f3175588dfbff7 100644 (file)
@@ -86,10 +86,6 @@ public:
     : MBB(NULL), NumPhysRegs(0), Tracking(false),
       ScavengingFrameIndex(-1), ScavengedReg(0), ScavengedRC(NULL) {}
 
-  explicit RegScavenger(MachineBasicBlock *mbb)
-    : MBB(mbb), NumPhysRegs(0), Tracking(false),
-      ScavengingFrameIndex(-1), ScavengedReg(0), ScavengedRC(NULL) {}
-
   /// enterBasicBlock - Start tracking liveness from the begin of the specific
   /// basic block.
   void enterBasicBlock(MachineBasicBlock *mbb);