don't use (*activeThreads).begin(), use activeThreads->blah().
authorNathan Binkert <binkertn@umich.edu>
Thu, 21 Dec 2006 06:20:11 +0000 (22:20 -0800)
committerNathan Binkert <binkertn@umich.edu>
Thu, 21 Dec 2006 06:20:11 +0000 (22:20 -0800)
commit9aecfb3e3bfe1b85db9468bad287f22a2eb9bd4e
treed4b2cbff99ca89ea77011552ab5e57b2435b1326
parent4b3538b609cfcce0891ee5ef7d690646a6030166
don't use (*activeThreads).begin(), use activeThreads->blah().
Also don't call (*activeThreads).end() over and over.  Just
call activeThreads->end() once and save the result.
Make sure we always check that there are elements in the list
before we grab the first one.

--HG--
extra : convert_revision : d769d8ed52da99532d57a9bbc93e92ddf22b7e58
src/cpu/o3/commit_impl.hh
src/cpu/o3/decode_impl.hh
src/cpu/o3/fetch_impl.hh
src/cpu/o3/iew_impl.hh
src/cpu/o3/inst_queue_impl.hh
src/cpu/o3/lsq_impl.hh
src/cpu/o3/rename_impl.hh
src/cpu/o3/rename_map.cc
src/cpu/o3/rob_impl.hh
src/cpu/ozone/inst_queue_impl.hh