diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-16 10:57:52 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-16 10:57:52 +0000 |
commit | b54fa0edda2aa0186e75ec18afa3131d6b1e5ec1 (patch) | |
tree | 78368f571784a945e759c36d1d9d1f36ea9d2fdf /src/cpu | |
parent | 50475e0e2a5634374f95dfb9e076888bb4367bb7 (diff) | |
parent | 725ee42ba784d4b18f26bec618d23ce580a02b2a (diff) | |
download | gem5-b54fa0edda2aa0186e75ec18afa3131d6b1e5ec1.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision : 3246c58850586b880641638bedb1f0025d0ef491
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/simple/base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index cd139492a..877dc5bd4 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -418,7 +418,8 @@ BaseSimpleCPU::postExecute() if (thread->profile) { bool usermode = TheISA::inUserMode(tc); thread->profilePC = usermode ? 1 : thread->readPC(); - ProfileNode *node = thread->profile->consume(tc, inst); + StaticInstPtr si(inst); + ProfileNode *node = thread->profile->consume(tc, si); if (node) thread->profileNode = node; } |