diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/utility.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/utility.cc b/src/arch/x86/utility.cc index 8f1a419f1..fcd52d38a 100644 --- a/src/arch/x86/utility.cc +++ b/src/arch/x86/utility.cc @@ -240,13 +240,13 @@ copyRegs(ThreadContext *src, ThreadContext *dest) { //copy int regs for (int i = 0; i < NumIntRegs; ++i) - dest->setIntReg(i, src->readIntReg(i)); + dest->setIntRegFlat(i, src->readIntRegFlat(i)); //copy float regs for (int i = 0; i < NumFloatRegs; ++i) - dest->setFloatRegBits(i, src->readFloatRegBits(i)); + dest->setFloatRegBitsFlat(i, src->readFloatRegBitsFlat(i)); //copy condition-code regs for (int i = 0; i < NumCCRegs; ++i) - dest->setCCReg(i, src->readCCReg(i)); + dest->setCCRegFlat(i, src->readCCRegFlat(i)); copyMiscRegs(src, dest); dest->pcState(src->pcState()); } |