Fixed profiler being initialized at the wrong time, causing a paired callback mismatch (bug amb1977).
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402489
This commit is contained in:
parent
deb7a123a6
commit
f27202202b
@ -484,6 +484,7 @@ int BaseRuntime::ApplyCompilationOptions(ICompilation *co)
|
||||
}
|
||||
|
||||
m_pCo = g_Jit.ApplyOptions(m_pCo, co);
|
||||
m_pPlugin->prof_flags = ((CompData *)m_pCo)->profile;
|
||||
|
||||
return SP_ERROR_NONE;
|
||||
}
|
||||
|
@ -2716,8 +2716,6 @@ jit_rewind:
|
||||
}
|
||||
}
|
||||
|
||||
plugin->prof_flags = data->profile;
|
||||
|
||||
*err = SP_ERROR_NONE;
|
||||
|
||||
JitFunction *fn;
|
||||
|
Loading…
Reference in New Issue
Block a user