Change to use -return_value.value like other implementations.
--HG-- extra : convert_revision : 513422c1c8c24f3662e6a423d13ee033424aa44b
This commit is contained in:
parent
bf5f6c6430
commit
dc105934f3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ namespace SparcISA
|
|||
tc->setIntReg(NumIntArchRegs + 2,
|
||||
tc->readIntReg(NumIntArchRegs + 2) | 0x11);
|
||||
//tc->setMiscReg(MISCREG_CCR, tc->readMiscReg(MISCREG_CCR) | 0x11);
|
||||
tc->setIntReg(ReturnValueReg, return_value.value());
|
||||
tc->setIntReg(ReturnValueReg, -return_value.value());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue