mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05e69c1f23
commit
6900132813
@ -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…
x
Reference in New Issue
Block a user