From: Dan Gohman Date: Fri, 19 Dec 2008 00:34:32 +0000 (+0000) Subject: Delete the RegScavenging constructor that takes a MachineBasicBlock X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9755faab609d65ccd06220625b50dc9d792be3c4;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61234 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h index 0108dcd0463..40dd66c06a7 100644 --- a/include/llvm/CodeGen/RegisterScavenging.h +++ b/include/llvm/CodeGen/RegisterScavenging.h @@ -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);