MIPS: Move the genMachineCheckFault function near MachineCheckFault.

Since they're so closely linked, they should be next to each other in the
file.
This commit is contained in:
Gabe Black 2011-09-19 06:17:20 -07:00
parent 59d7fc6b26
commit ffeab06378

View file

@ -85,6 +85,11 @@ class MachineCheckFault : public MipsFault<MachineCheckFault>
bool isMachineCheckFault() {return true;}
};
static inline Fault genMachineCheckFault()
{
return new MachineCheckFault;
}
class NonMaskableInterrupt : public MipsFault<NonMaskableInterrupt>
{
public:
@ -106,11 +111,6 @@ class AddressErrorFault : public MipsFault<AddressErrorFault>
};
static inline Fault genMachineCheckFault()
{
return new MachineCheckFault;
}
class ResetFault : public MipsFault<ResetFault>
{
public: