Change to use -return_value.value like other implementations.
--HG-- extra : convert_revision : 513422c1c8c24f3662e6a423d13ee033424aa44b
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user