MIPS: Get rid of skipFaultInstruction and setRestartAddress.

Neither of these functions were used.
This commit is contained in:
Gabe Black 2011-09-19 06:17:21 -07:00
parent 5ea09771be
commit 0d9ee17012

View file

@ -46,9 +46,6 @@ typedef const Addr FaultVect;
class MipsFaultBase : public FaultBase class MipsFaultBase : public FaultBase
{ {
protected:
virtual bool skipFaultingInstruction() {return false;}
virtual bool setRestartAddress() {return true;}
public: public:
struct FaultVals struct FaultVals
{ {
@ -198,8 +195,6 @@ class ThreadFault : public MipsFault<ThreadFault>
class IntegerOverflowFault : public MipsFault<IntegerOverflowFault> class IntegerOverflowFault : public MipsFault<IntegerOverflowFault>
{ {
protected:
bool skipFaultingInstruction() {return true;}
public: public:
#if FULL_SYSTEM #if FULL_SYSTEM
void invoke(ThreadContext * tc, void invoke(ThreadContext * tc,
@ -209,8 +204,6 @@ class IntegerOverflowFault : public MipsFault<IntegerOverflowFault>
class InterruptFault : public MipsFault<InterruptFault> class InterruptFault : public MipsFault<InterruptFault>
{ {
protected:
bool setRestartAddress() {return false;}
public: public:
#if FULL_SYSTEM #if FULL_SYSTEM
void invoke(ThreadContext * tc, void invoke(ThreadContext * tc,