MIPS: Guard SystemCallFault::invoke consistently.

Make sure it's declared iff it's also defined.
This commit is contained in:
Gabe Black
2011-09-19 06:09:15 -07:00
parent 49967ed268
commit 4ad36a4684

View File

@@ -262,8 +262,10 @@ class SystemCallFault : public MipsFault
FaultName name() const {return _name;}
FaultVect vect() {return _vect;}
FaultStat & countStat() {return _count;}
#if FULL_SYSTEM
void invoke(ThreadContext * tc,
StaticInstPtr inst = StaticInst::nullStaticInstPtr);
#endif
};
class SoftResetFault : public MipsFault