diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-11 13:43:30 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-11 13:43:30 -0400 |
commit | 0b0cb2bca71acdab4a30acc639509030631f9dfd (patch) | |
tree | fee4bbd0c1bfb45b7abec14e944400852f90b468 /src/cpu/o3/lsq_impl.hh | |
parent | b55cda163ed1a29ee5e08cde36743047923ab475 (diff) | |
parent | 7078d8d1b42c1a158c854b3e07800f20aa695bfb (diff) | |
download | gem5-0b0cb2bca71acdab4a30acc639509030631f9dfd.tar.xz |
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem
--HG--
extra : convert_revision : c565fd7cebaa4058ba510b3db50a9c76bf301228
Diffstat (limited to 'src/cpu/o3/lsq_impl.hh')
-rw-r--r-- | src/cpu/o3/lsq_impl.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/o3/lsq_impl.hh b/src/cpu/o3/lsq_impl.hh index 5173f8be1..89fd1a71d 100644 --- a/src/cpu/o3/lsq_impl.hh +++ b/src/cpu/o3/lsq_impl.hh @@ -502,6 +502,9 @@ LSQ<Impl>::hasStoresToWB() { list<unsigned>::iterator active_threads = (*activeThreads).begin(); + if ((*activeThreads).empty()) + return false; + while (active_threads != (*activeThreads).end()) { unsigned tid = *active_threads++; if (!hasStoresToWB(tid)) |