X86: Get X86_FS to compile.
--HG-- extra : convert_revision : fb973bcf13648876d5691231845dd47a2be50f01
This commit is contained in:
@@ -428,11 +428,10 @@ void
|
||||
BaseSimpleCPU::postExecute()
|
||||
{
|
||||
#if FULL_SYSTEM
|
||||
if (thread->profile) {
|
||||
if (thread->profile && curStaticInst) {
|
||||
bool usermode = TheISA::inUserMode(tc);
|
||||
thread->profilePC = usermode ? 1 : thread->readPC();
|
||||
StaticInstPtr si(inst, thread->readPC());
|
||||
ProfileNode *node = thread->profile->consume(tc, si);
|
||||
ProfileNode *node = thread->profile->consume(tc, curStaticInst);
|
||||
if (node)
|
||||
thread->profileNode = node;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user