ifdef out a dead function. Should this be removed?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-03-28 15:36:27 +00:00
parent e10efce225
commit 2a88a5c92f

View File

@ -1708,6 +1708,7 @@ void BURegReductionPriorityQueue<SF>::CalculateSethiUllmanNumbers() {
CalcNodeSethiUllmanNumber(&(*SUnits)[i]);
}
#if 0
static unsigned SumOfUnscheduledPredsOfSuccs(const SUnit *SU) {
unsigned Sum = 0;
for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
@ -1723,6 +1724,7 @@ static unsigned SumOfUnscheduledPredsOfSuccs(const SUnit *SU) {
return Sum;
}
#endif
/// LimitedSumOfUnscheduledPredsOfSuccs - Compute the sum of the unscheduled
/// predecessors of the successors of the SUnit SU. Stop when the provided