From 68ae846f3e697d432b8276a1cc736205d7632820 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 23 Nov 2006 01:27:41 -0500 Subject: [PATCH] Use the right constant. --HG-- extra : convert_revision : f93182ed41057025cc10df443b24e82fbe783df6 --- src/cpu/exetrace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2