summaryrefslogtreecommitdiff
path: root/src/arch/sparc/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-09-19 06:17:20 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-09-19 06:17:20 -0700
commit717d4ae930a64226d909e97fc672dccfa6a19ca2 (patch)
tree65e4f90247b88b0186f27fced755797329a19fd4 /src/arch/sparc/faults.hh
parent110c59b414e1e93004f56cefcb92ea945c3f3713 (diff)
downloadgem5-717d4ae930a64226d909e97fc672dccfa6a19ca2.tar.xz
Faults: Get rid of the unused isAlignmentFault and isMachineCheckFault.
These functions aren't called anywhere and are probably only theoretically useful.
Diffstat (limited to 'src/arch/sparc/faults.hh')
-rw-r--r--src/arch/sparc/faults.hh12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/arch/sparc/faults.hh b/src/arch/sparc/faults.hh
index bee29ee5e..31209440f 100644
--- a/src/arch/sparc/faults.hh
+++ b/src/arch/sparc/faults.hh
@@ -139,11 +139,7 @@ class CleanWindow : public SparcFault<CleanWindow> {};
class DivisionByZero : public SparcFault<DivisionByZero> {};
class InternalProcessorError :
- public SparcFault<InternalProcessorError>
-{
- public:
- bool isMachineCheckFault() const { return true; }
-};
+ public SparcFault<InternalProcessorError> {};
class InstructionInvalidTSBEntry :
public SparcFault<InstructionInvalidTSBEntry> {};
@@ -159,11 +155,7 @@ class DataAccessError : public SparcFault<DataAccessError> {};
class DataAccessProtection : public SparcFault<DataAccessProtection> {};
class MemAddressNotAligned :
- public SparcFault<MemAddressNotAligned>
-{
- public:
- bool isAlignmentFault() const { return true; }
-};
+ public SparcFault<MemAddressNotAligned> {};
class LDDFMemAddressNotAligned : public SparcFault<LDDFMemAddressNotAligned> {};