summaryrefslogtreecommitdiff
path: root/sim/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-02-27 16:46:00 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-02-27 16:46:00 -0500
commit36b2d9815e32781aba1f51acb0b89cdd4f3e2da9 (patch)
treebcd6202b402944d1317478faf86c552099c7326c /sim/faults.hh
parent2f7b8ab1ec301eaf0f1a57d3c566c3358780a117 (diff)
downloadgem5-36b2d9815e32781aba1f51acb0b89cdd4f3e2da9.tar.xz
Moved the _stat for MachineCheckFault and AlignmentFault into the isa specific classes to prevent instantiation of the generic classes.
--HG-- extra : convert_revision : 0378261342df008c2bf6d260295ef21b15f119a8
Diffstat (limited to 'sim/faults.hh')
-rw-r--r--sim/faults.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/faults.hh b/sim/faults.hh
index e4880f820..d0bf78815 100644
--- a/sim/faults.hh
+++ b/sim/faults.hh
@@ -71,10 +71,8 @@ class MachineCheckFault : public FaultBase
{
private:
static FaultName _name;
- static FaultStat _stat;
public:
FaultName name() {return _name;}
- FaultStat & stat() {return _stat;}
bool isMachineCheckFault() {return true;}
};
@@ -82,10 +80,8 @@ class AlignmentFault : public FaultBase
{
private:
static FaultName _name;
- static FaultStat _stat;
public:
FaultName name() {return _name;}
- FaultStat & stat() {return _stat;}
bool isAlignmentFault() {return true;}
};