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:
parent
e88f30877d
commit
d9d3176de3
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user