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 | 2a88a5c92f898623d5cceb6cd1019427a1749999 (patch) | |
tree | 1515eac0c12a6b10e1f0e717481fb3b2fb0343aa /lib | |
parent | e10efce22502d1a1855d25baf1458660f4ba6f33 (diff) | |
download | external_llvm-2a88a5c92f898623d5cceb6cd1019427a1749999.zip external_llvm-2a88a5c92f898623d5cceb6cd1019427a1749999.tar.gz external_llvm-2a88a5c92f898623d5cceb6cd1019427a1749999.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index cef3eaf..024190d 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/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 |