From: Nathan Binkert Date: Wed, 12 Nov 2003 20:23:31 +0000 (-0500) Subject: statistics.cc: X-Git-Tag: m5_1.0_beta2~262 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bd909277d1619d5e40444e5b7a9d59bbae9bc19;p=gem5.git statistics.cc: Only reactivate the original bin if it actually exists. base/statistics.cc: Only reactivate the original bin if it actually exists. --HG-- extra : convert_revision : e71ba0680d79ca439487a31d8f365429bff8c375 --- diff --git a/base/statistics.cc b/base/statistics.cc index 706d14ffb..b08715162 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -289,7 +289,8 @@ Database::reset() ++bi; } - orig->activate(); + if (orig) + orig->activate(); } void