diff options
author | Nathan Binkert <binkertn@umich.edu> | 2003-11-12 14:59:58 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2003-11-12 14:59:58 -0500 |
commit | 74aaf2401c015baa4eeedf0dc0ed741fac20e41a (patch) | |
tree | dc480d3a0cf4cf3d0811f6e9114c6f40081a6487 | |
parent | 94f98b43b3eaf86b22ca29bab5e0a1d3a1c60512 (diff) | |
download | gem5-74aaf2401c015baa4eeedf0dc0ed741fac20e41a.tar.xz |
in the case where we don't have any bins, we don't want to panic
--HG--
extra : convert_revision : e9056ca020d0f3db388b31a074b03e4d521f8705
-rw-r--r-- | base/statistics.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc index 69b663dbb..706d14ffb 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -272,7 +272,7 @@ Database::reset() ++i; } - MainBin *orig = MainBin::current(); + MainBin *orig = MainBin::curBin(); list<GenBin *>::iterator bi = bins.begin(); list<GenBin *>::iterator be = bins.end(); |