Use the right constant.

--HG--
extra : convert_revision : f93182ed41057025cc10df443b24e82fbe783df6
This commit is contained in:
Gabe Black
2006-11-23 01:27:41 -05:00
parent de445b5e96
commit 68ae846f3e

View 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;
}