Change to use -return_value.value like other implementations.

--HG--
extra : convert_revision : 513422c1c8c24f3662e6a423d13ee033424aa44b
This commit is contained in:
Gabe Black 2006-12-06 05:47:19 -05:00
parent bf5f6c6430
commit dc105934f3

View file

@ -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());
}
}
};