summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-23 01:27:41 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-23 01:27:41 -0500
commit68ae846f3e697d432b8276a1cc736205d7632820 (patch)
tree0fccf28137f56a5d13dd8104b85c1cbb9afc2a4d /src
parentde445b5e9655514d2c58197254c56ce5fd753e81 (diff)
downloadgem5-68ae846f3e697d432b8276a1cc736205d7632820.tar.xz
Use the right constant.
--HG-- extra : convert_revision : f93182ed41057025cc10df443b24e82fbe783df6
Diffstat (limited to 'src')
-rw-r--r--src/cpu/exetrace.cc2
1 files changed, 1 insertions, 1 deletions
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;
}