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:
David Anderson 2008-09-05 06:15:54 +00:00
parent deb7a123a6
commit f27202202b
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -2716,8 +2716,6 @@ jit_rewind:
}
}
plugin->prof_flags = data->profile;
*err = SP_ERROR_NONE;
JitFunction *fn;