1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Remove dead code.

llvm-svn: 41899
This commit is contained in:
Evan Cheng 2007-09-12 23:45:46 +00:00
parent e88f30877d
commit d9d3176de3

View File

@ -182,7 +182,7 @@ void ScheduleDAG::BuildSchedUnits() {
void ScheduleDAG::CalculateDepths() {
std::vector<std::pair<SUnit*, unsigned> > WorkList;
for (unsigned i = 0, e = SUnits.size(); i != e; ++i)
if (SUnits[i].Preds.size() == 0/* && &SUnits[i] != Entry*/)
if (SUnits[i].Preds.size() == 0)
WorkList.push_back(std::make_pair(&SUnits[i], 0U));
while (!WorkList.empty()) {