summaryrefslogtreecommitdiff
path: root/src/arch/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/generic')
-rw-r--r--src/arch/generic/debugfaults.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/generic/debugfaults.hh b/src/arch/generic/debugfaults.hh
index fcfdfb9e1..aeb2261a7 100644
--- a/src/arch/generic/debugfaults.hh
+++ b/src/arch/generic/debugfaults.hh
@@ -86,8 +86,8 @@ class M5DebugFault : public FaultBase
}
void
- invoke(ThreadContext *tc,
- StaticInstPtr inst = StaticInst::nullStaticInstPtr)
+ invoke(ThreadContext *tc, const StaticInstPtr &inst =
+ StaticInst::nullStaticInstPtr)
{
switch (func) {
case PanicFunc: