projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ccaee9
)
Fix ALPHA_FS compile. The MachInst -> StaticInstPtr constructor is no longer a conver...
author
Gabe Black
<gblack@eecs.umich.edu>
Fri, 16 Mar 2007 10:57:34 +0000
(10:57 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Fri, 16 Mar 2007 10:57:34 +0000
(10:57 +0000)
--HG--
extra : convert_revision :
ce9ecfc03a47642d105f2378208bbe923d6b765b
src/cpu/simple/base.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/base.cc
b/src/cpu/simple/base.cc
index cd139492aebc1e44790e2dc28fde39ae8a34d2ff..877dc5bd494cb9a1204f1ea996ef7c6fd3e12016 100644
(file)
--- 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;
}