From 57ff15825585a80e4e5fad2521d457d3efe5769a 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 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 11c69a4e2934..070fdbdc705c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/llvm/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()) {