summaryrefslogtreecommitdiff
path: root/src/cpu/simple/base.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-08-30 19:08:24 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-08-30 19:08:24 -0400
commitfa0fca32273444fb2451397c255b0a8e0763147a (patch)
treec95820ab573d095545354a76a0c7eb8a80052c26 /src/cpu/simple/base.cc
parent05177abbc98e98122a706fdb1498496524b58e34 (diff)
downloadgem5-fa0fca32273444fb2451397c255b0a8e0763147a.tar.xz
Change the cpu pointer in the InstRecord object to a thread context pointer.
--HG-- extra : convert_revision : 7efb2680cef4219281b94d680a4a7c75c123f89d
Diffstat (limited to 'src/cpu/simple/base.cc')
-rw-r--r--src/cpu/simple/base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index 801c96c88..b7cfddcb8 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -398,7 +398,7 @@ BaseSimpleCPU::preExecute()
inst = gtoh(inst);
curStaticInst = StaticInst::decode(makeExtMI(inst, thread->readPC()));
- traceData = Trace::getInstRecord(curTick, tc, this, curStaticInst,
+ traceData = Trace::getInstRecord(curTick, tc, curStaticInst,
thread->readPC());
DPRINTF(Decode,"Decode: Decoded %s instruction (opcode: 0x%x): 0x%x\n",