Avoid an unnecessary call to allnodes_size(), which is linear.
authorDan Gohman <gohman@apple.com>
Tue, 23 Dec 2008 17:24:50 +0000 (17:24 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 23 Dec 2008 17:24:50 +0000 (17:24 +0000)
commite1dfc7da8991270db5094aa736fde273bfab6061
treece320890ced6be5b08a8154563dd527fa0f26488
parent1578f8486d401a16bdfbe7f27cd4d644920000bf
Avoid an unnecessary call to allnodes_size(), which is linear.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61372 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp