From d9d3176de3ecd3f1ac3f7bd59ae5fdeddc620b5b Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 12 Sep 2007 23:45:46 +0000 Subject: [PATCH] Remove dead code. llvm-svn: 41899 --- lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 11c69a4e293..070fdbdc705 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -182,7 +182,7 @@ void ScheduleDAG::BuildSchedUnits() { void ScheduleDAG::CalculateDepths() { std::vector > 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()) {