summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-08-23 16:23:47 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-08-23 16:23:47 -0700
commitc13640a89cfd3bb18faf8d7100970c901d6e6168 (patch)
tree0fb8e2a5d1198256149aa8dbcfa67423d64a6c5a /src/sim
parent25ffa8eb8b3ebdfe62f1e17f51030ffdf79b5275 (diff)
downloadgem5-c13640a89cfd3bb18faf8d7100970c901d6e6168.tar.xz
Faults: Get rid of some commented out code in sim/faults.hh.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/faults.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index 75696641b..f2fa30b60 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -55,8 +55,6 @@ class FaultBase : public RefCounted
public:
virtual FaultName name() const = 0;
virtual void invoke(ThreadContext * tc);
-// template<typename T>
-// bool isA() {return dynamic_cast<T *>(this);}
virtual bool isMachineCheckFault() const {return false;}
virtual bool isAlignmentFault() const {return false;}
};