Make SchedGraph::dump() use SchedGraphNodeCommon's const_iterator
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 9 Feb 2004 18:42:05 +0000 (18:42 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 9 Feb 2004 18:42:05 +0000 (18:42 +0000)
commit0dc5753f2b3e2f2f4be1439ba57a3f749bbe51cb
treeb8386ed87d33cb8c4ab7e4502bcd0bcdad493855
parent0cdaf94a5eaafecb5facda8b81f0cf3f55126f17
Make SchedGraph::dump() use SchedGraphNodeCommon's const_iterator
instead of randomly groping about inside its outEdges array.
Make SchedGraph::addDummyEdges() use getNumOutEdges() instead of
outEdges.size().
Get rid of ifdefed-out code in SchedGraph::buildGraph().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11238 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InstrSched/SchedGraph.cpp
lib/Target/SparcV9/InstrSched/SchedGraph.cpp