From: Vilas Sridharan Date: Thu, 6 Mar 2008 05:27:09 +0000 (-0500) Subject: O3CPU: Don't call dumpInsts if DEBUG is not defined X-Git-Tag: copyright_update~22^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21fd15ad9a79510be1f4474e135a22f6742327f6;p=gem5.git O3CPU: Don't call dumpInsts if DEBUG is not defined --HG-- extra : convert_revision : 3194bde4c624d118969bfbf92282539963a72245 --- 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::initVars() ++instcount; if (instcount > 1500) { - cpu->dumpInsts(); #ifdef DEBUG + cpu->dumpInsts(); dumpSNList(); #endif assert(instcount <= 1500);