Use the right constant.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 23 Nov 2006 06:27:41 +0000 (01:27 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 23 Nov 2006 06:27:41 +0000 (01:27 -0500)
--HG--
extra : convert_revision : f93182ed41057025cc10df443b24e82fbe783df6

src/cpu/exetrace.cc

index 0e4425accc594b782f7344e8fe08f7658f583d62..f3b9b51b2187429c23b847ca0b6183f84804af98 100644 (file)
@@ -321,7 +321,7 @@ Trace::InstRecord::dump(ostream &outs)
                             (SparcISA::MachInst)staticInst->machInst) {
                         diffInst = true;
                     }
-                    for (int i = 0; i < TheISA::NumRegularIntRegs; i++) {
+                    for (int i = 0; i < TheISA::NumIntArchRegs; i++) {
                         if (thread->readIntReg(i) != shared_data->intregs[i]) {
                             diffRegs = true;
                         }