From: Gabe Black Date: Thu, 23 Nov 2006 06:27:41 +0000 (-0500) Subject: Use the right constant. X-Git-Tag: m5_2.0_beta3~306 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68ae846f3e697d432b8276a1cc736205d7632820;p=gem5.git Use the right constant. --HG-- extra : convert_revision : f93182ed41057025cc10df443b24e82fbe783df6 --- diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc index 0e4425acc..f3b9b51b2 100644 --- a/src/cpu/exetrace.cc +++ b/src/cpu/exetrace.cc @@ -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; }