summaryrefslogtreecommitdiff
path: root/cpu/exetrace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/exetrace.hh')
-rw-r--r--cpu/exetrace.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/exetrace.hh b/cpu/exetrace.hh
index d05dbe0cd..622ecd729 100644
--- a/cpu/exetrace.hh
+++ b/cpu/exetrace.hh
@@ -91,8 +91,9 @@ class InstRecord : public Record
bool regs_valid;
public:
- InstRecord(Tick _cycle, BaseCPU *_cpu, StaticInstPtr<TheISA> _staticInst,
- Addr _pc, bool spec, unsigned _thread)
+ InstRecord(Tick _cycle, BaseCPU *_cpu,
+ const StaticInstPtr<TheISA> &_staticInst,
+ Addr _pc, bool spec, int _thread)
: Record(_cycle), cpu(_cpu), staticInst(_staticInst), PC(_pc),
misspeculating(spec), thread(_thread)
{