diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-03-28 15:36:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-03-28 15:36:27 +0000 |
| commit | a148acdc8234f4896058f14bf9439685b5f52ebe (patch) | |
| tree | ff6b69c0c9f911735cf4d8ef010e5665662e89ae /llvm/lib | |
| parent | 35c7cdac075008a63fec1b782e95569968262381 (diff) | |
| download | bcm5719-llvm-a148acdc8234f4896058f14bf9439685b5f52ebe.tar.gz bcm5719-llvm-a148acdc8234f4896058f14bf9439685b5f52ebe.zip | |
ifdef out a dead function. Should this be removed?
llvm-svn: 48916
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index cef3eafc5c5..024190df6bd 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -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 |

