summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/faults.cc2
-rw-r--r--sim/faults.hh4
2 files changed, 0 insertions, 6 deletions
diff --git a/sim/faults.cc b/sim/faults.cc
index 17efaf1c4..78bfc8092 100644
--- a/sim/faults.cc
+++ b/sim/faults.cc
@@ -29,7 +29,5 @@
#include "sim/faults.hh"
FaultName MachineCheckFault::_name = "mchk";
-FaultStat MachineCheckFault::_stat;
FaultName AlignmentFault::_name = "unalign";
-FaultStat AlignmentFault::_stat;
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;}
};