projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74aaf24
)
statistics.cc:
author
Nathan Binkert
<binkertn@umich.edu>
Wed, 12 Nov 2003 20:23:31 +0000
(15:23 -0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Wed, 12 Nov 2003 20:23:31 +0000
(15:23 -0500)
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
base/statistics.cc
patch
|
blob
|
history
diff --git
a/base/statistics.cc
b/base/statistics.cc
index 706d14ffb142644b47c8ea4944286eeb46da7bb0..b08715162d939ef17302998705a48c0dd8743817 100644
(file)
--- a/
base/statistics.cc
+++ b/
base/statistics.cc
@@
-289,7
+289,8
@@
Database::reset()
++bi;
}
- orig->activate();
+ if (orig)
+ orig->activate();
}
void