diff options
author | Vilas Sridharan <vilas.sridharan@gmail.com> | 2008-03-06 00:27:09 -0500 |
---|---|---|
committer | Vilas Sridharan <vilas.sridharan@gmail.com> | 2008-03-06 00:27:09 -0500 |
commit | 21fd15ad9a79510be1f4474e135a22f6742327f6 (patch) | |
tree | d4304dd612570a2328aea246278a7db9442388e6 /src/cpu | |
parent | 66aaabf4ae05508ea8fa223c84b7a78aa754c7f9 (diff) | |
download | gem5-21fd15ad9a79510be1f4474e135a22f6742327f6.tar.xz |
O3CPU: Don't call dumpInsts if DEBUG is not defined
--HG--
extra : convert_revision : 3194bde4c624d118969bfbf92282539963a72245
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/base_dyn_inst_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/base_dyn_inst_impl.hh b/src/cpu/base_dyn_inst_impl.hh index 5c18ae694..66075c60a 100644 --- a/src/cpu/base_dyn_inst_impl.hh +++ b/src/cpu/base_dyn_inst_impl.hh @@ -171,8 +171,8 @@ BaseDynInst<Impl>::initVars() ++instcount; if (instcount > 1500) { - cpu->dumpInsts(); #ifdef DEBUG + cpu->dumpInsts(); dumpSNList(); #endif assert(instcount <= 1500); |