Get rid of old, commented out code.

--HG--
extra : convert_revision : 46e9f26917efab642b80ea9e4303ec95d43d935e
This commit is contained in:
Gabe Black 2006-10-31 03:44:39 -05:00
parent 038217049a
commit eab445e1bc

View file

@ -359,21 +359,6 @@ void SparcFault::invoke(ThreadContext * tc)
countStat()++; countStat()++;
//Use the SPARC trap state machine //Use the SPARC trap state machine
/*// exception restart address
if (setRestartAddress() || !tc->inPalMode())
tc->setMiscReg(AlphaISA::IPR_EXC_ADDR, tc->regs.pc);
if (skipFaultingInstruction()) {
// traps... skip faulting instruction.
tc->setMiscReg(AlphaISA::IPR_EXC_ADDR,
tc->readMiscReg(AlphaISA::IPR_EXC_ADDR) + 4);
}
if (!tc->inPalMode())
AlphaISA::swap_palshadow(&(tc->regs), true);
tc->regs.pc = tc->readMiscReg(AlphaISA::IPR_PAL_BASE) + vect();
tc->regs.npc = tc->regs.pc + sizeof(MachInst);*/
} }
#endif #endif