From 76708a9a6c85ef88259e849220bde511e356fcf8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 30 Sep 2006 02:55:21 -0400 Subject: Changed makeExtMI to take a ThreadContext instead of a pc. --HG-- extra : convert_revision : e5b200e4e053702fc703f44149d18ce48ac4eaa6 --- src/cpu/simple/base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/simple') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index f801b93fa..025314fcb 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -396,7 +396,7 @@ BaseSimpleCPU::preExecute() // decode the instruction inst = gtoh(inst); - curStaticInst = StaticInst::decode(makeExtMI(inst, thread->readPC())); + curStaticInst = StaticInst::decode(makeExtMI(inst, thread->getTC())); traceData = Trace::getInstRecord(curTick, tc, curStaticInst, thread->readPC()); -- cgit v1.2.3