jit: Re-disable clobbered thing.

No idea what's wrong...
This commit is contained in:
Unknown W. Brackets 2014-12-08 01:49:59 -08:00
parent 82d69fad8d
commit bfe5f9276e
2 changed files with 4 additions and 2 deletions

View File

@ -295,7 +295,8 @@ allocate:
if (bestToSpill != INVALID_REG) {
// ERROR_LOG(JIT, "Out of registers at PC %08x - spills register %i.", mips_->pc, bestToSpill);
if (clobbered) {
// TODO: Broken somehow in Dante's Inferno, but most games work. Bad flags in MIPSTables somewhere?
if (clobbered && false) {
DiscardR(ar[bestToSpill].mipsReg);
} else {
FlushArmReg(bestToSpill);

View File

@ -174,7 +174,8 @@ X64Reg GPRRegCache::GetFreeXReg()
}
if (bestToSpill != INVALID_REG) {
if (clobbered) {
// TODO: Broken somehow in Dante's Inferno, but most games work. Bad flags in MIPSTables somewhere?
if (clobbered && false) {
DiscardRegContentsIfCached(xregs[bestToSpill].mipsReg);
} else {
StoreFromRegister(xregs[bestToSpill].mipsReg);