OSDN Git Service

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)
commitbdf3e272f9b0df3779e4569e4eb3eae64e921c76
treece320890ced6be5b08a8154563dd527fa0f26488
parentd138ff4ad5fb5f5de2c42f331a6afb24338a3695
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