summaryrefslogtreecommitdiff
path: root/src/cpu/checker/cpu_impl.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-09-30 02:55:21 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-09-30 02:55:21 -0400
commit76708a9a6c85ef88259e849220bde511e356fcf8 (patch)
treeb889a410f7d4d8f4938fd5476406ad091e101a0e /src/cpu/checker/cpu_impl.hh
parent51425382ca079290411e033acc8cf14dde36c82b (diff)
downloadgem5-76708a9a6c85ef88259e849220bde511e356fcf8.tar.xz
Changed makeExtMI to take a ThreadContext instead of a pc.
--HG-- extra : convert_revision : e5b200e4e053702fc703f44149d18ce48ac4eaa6
Diffstat (limited to 'src/cpu/checker/cpu_impl.hh')
-rw-r--r--src/cpu/checker/cpu_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh
index 81f97726c..48458bb1a 100644
--- a/src/cpu/checker/cpu_impl.hh
+++ b/src/cpu/checker/cpu_impl.hh
@@ -200,7 +200,7 @@ Checker<DynInstPtr>::verify(DynInstPtr &completed_inst)
validateInst(inst);
curStaticInst = StaticInst::decode(makeExtMI(machInst,
- thread->readPC()));
+ thread->getTC()));
#if FULL_SYSTEM
thread->setInst(machInst);