From: Nathan Binkert Date: Wed, 12 Nov 2003 19:59:58 +0000 (-0500) Subject: in the case where we don't have any bins, we don't want to panic X-Git-Tag: m5_1.0_beta2~263 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74aaf2401c015baa4eeedf0dc0ed741fac20e41a;p=gem5.git in the case where we don't have any bins, we don't want to panic --HG-- extra : convert_revision : e9056ca020d0f3db388b31a074b03e4d521f8705 --- 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::iterator bi = bins.begin(); list::iterator be = bins.end();