summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorVilas Sridharan <vilas.sridharan@gmail.com>2008-03-06 00:27:09 -0500
committerVilas Sridharan <vilas.sridharan@gmail.com>2008-03-06 00:27:09 -0500
commit21fd15ad9a79510be1f4474e135a22f6742327f6 (patch)
treed4304dd612570a2328aea246278a7db9442388e6 /src/cpu
parent66aaabf4ae05508ea8fa223c84b7a78aa754c7f9 (diff)
downloadgem5-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.hh2
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);