Fix for MIPS_SE/m5.fast compile. m5_2.0_beta2
authorKevin Lim <ktlim@umich.edu>
Wed, 6 Dec 2006 19:23:31 +0000 (14:23 -0500)
committerKevin Lim <ktlim@umich.edu>
Wed, 6 Dec 2006 19:23:31 +0000 (14:23 -0500)
--HG--
extra : convert_revision : dbb893250974ac6db7b6c1ba67263fd35098ca43

src/cpu/o3/commit_impl.hh

index 43305f9625891c266c719d3909396dc0554fe1a5..f400d757ba69d7f7e8694005c175dc2b9a601bfb 100644 (file)
@@ -1197,16 +1197,16 @@ DefaultCommit<Impl>::getInsts()
              rename_idx < fromRename->size;
              rename_idx++) {
             DynInstPtr inst = fromRename->insts[rename_idx];
-            int tid = inst->threadNumber;
 
             if (!inst->isSquashed()) {
                 DPRINTF(Commit, "Inserting PC %#x [sn:%i] [tid:%i] into ",
-                        "skidBuffer.\n", inst->readPC(), inst->seqNum, tid);
+                        "skidBuffer.\n", inst->readPC(), inst->seqNum,
+                        inst->threadNumber);
                 skidBuffer.push(inst);
             } else {
                 DPRINTF(Commit, "Instruction PC %#x [sn:%i] [tid:%i] was "
                         "squashed, skipping.\n",
-                        inst->readPC(), inst->seqNum, tid);
+                        inst->readPC(), inst->seqNum, inst->threadNumber);
             }
         }
     }