Fix ALPHA_FS compile. The MachInst -> StaticInstPtr constructor is no longer a conversion constructor because it caused ambiguous conversions when setting the pointer to NULL.
--HG-- extra : convert_revision : ce9ecfc03a47642d105f2378208bbe923d6b765b
This commit is contained in:
parent
3ccaee976a
commit
725ee42ba7
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue