[llvm-commits] [llvm] r61234 - /llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h

Dan Gohman gohman at apple.com
Thu Dec 18 16:34:34 PST 2008


Author: djg
Date: Thu Dec 18 18:34:32 2008
New Revision: 61234

URL: http://llvm.org/viewvc/llvm-project?rev=61234&view=rev
Log:
Delete the RegScavenging constructor that takes a MachineBasicBlock
argument. Nothing was using it, and it set the MBB member without
calling enterBasicBlock, which was problematic.

Modified:
    llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h

Modified: llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h?rev=61234&r1=61233&r2=61234&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h (original)
+++ llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h Thu Dec 18 18:34:32 2008
@@ -86,10 +86,6 @@
     : 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);





More information about the llvm-commits mailing list