Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/coreclr/src/vm/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,9 @@ void Interpreter::JitMethodIfAppropriate(InterpreterMethodInfo* interpMethInfo,
// interpreter I didn't wring my hands too much trying to determine the ideal
// policy.
#ifdef FEATURE_TIERED_COMPILATION
GetAppDomain()->GetTieredCompilationManager()->AsyncPromoteMethodToTier1(md);
bool scheduleTieringBackgroundWork = false;
NativeCodeVersion activeCodeVersion = md->GetCodeVersionManager()->GetActiveILCodeVersion(md).GetActiveNativeCodeVersion(md);
GetAppDomain()->GetTieredCompilationManager()->AsyncPromoteToTier1(activeCodeVersion, &scheduleTieringBackgroundWork);
#else
#error FEATURE_INTERPRETER depends on FEATURE_TIERED_COMPILATION now
#endif
Expand Down Expand Up @@ -1799,7 +1801,7 @@ AwareLock* Interpreter::GetMonitorForStaticMethod()
CORINFO_LOOKUP_KIND kind;
{
GCX_PREEMP();
kind = m_interpCeeInfo.getLocationOfThisType(m_methInfo->m_method);
m_interpCeeInfo.getLocationOfThisType(m_methInfo->m_method, &kind);
}
if (!kind.needsRuntimeLookup)
{
Expand Down