summaryrefslogtreecommitdiff
path: root/arch/alpha/ev5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/ev5.cc')
-rw-r--r--arch/alpha/ev5.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/ev5.cc b/arch/alpha/ev5.cc
index 34b328a39..b89a6d10d 100644
--- a/arch/alpha/ev5.cc
+++ b/arch/alpha/ev5.cc
@@ -92,8 +92,8 @@ AlphaISA::fault_addr(Fault fault)
{
//Check for the system wide faults
if(fault == NoFault) return 0x0000;
- else if(fault->isA<MachineCheckFault>()) return 0x0401;
- else if(fault->isA<AlignmentFault>()) return 0x0301;
+ else if(fault->isMachineCheckFault()) return 0x0401;
+ else if(fault->isAlignmentFault()) return 0x0301;
//Deal with the alpha specific faults
return ((AlphaFault *)(fault.get()))->vect();
};