O3CPU: Don't call dumpInsts if DEBUG is not defined
authorVilas Sridharan <vilas.sridharan@gmail.com>
Thu, 6 Mar 2008 05:27:09 +0000 (00:27 -0500)
committerVilas Sridharan <vilas.sridharan@gmail.com>
Thu, 6 Mar 2008 05:27:09 +0000 (00:27 -0500)
--HG--
extra : convert_revision : 3194bde4c624d118969bfbf92282539963a72245

src/cpu/base_dyn_inst_impl.hh

index 5c18ae69427d5a9c0207ce2247d19f4d93a3182e..66075c60ace011f80e124c0a37a8c12710aa5931 100644 (file)
@@ -171,8 +171,8 @@ BaseDynInst<Impl>::initVars()
     ++instcount;
 
     if (instcount > 1500) {
-        cpu->dumpInsts();
 #ifdef DEBUG
+        cpu->dumpInsts();
         dumpSNList();
 #endif
         assert(instcount <= 1500);