summaryrefslogtreecommitdiff
path: root/src/arch/mips/isa/formats/unknown.isa
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips/isa/formats/unknown.isa')
-rw-r--r--src/arch/mips/isa/formats/unknown.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/mips/isa/formats/unknown.isa b/src/arch/mips/isa/formats/unknown.isa
index ba8fc5c07..fd6c9ea18 100644
--- a/src/arch/mips/isa/formats/unknown.isa
+++ b/src/arch/mips/isa/formats/unknown.isa
@@ -72,7 +72,7 @@ output exec {{
Unknown::execute(CPU_EXEC_CONTEXT *xc,
Trace::InstRecord *traceData) const
{
- return new ReservedInstructionFault;
+ return std::make_shared<ReservedInstructionFault>();
}
}};