Skip to content

Commit b38f0fb

Browse files
committed
more
1 parent ec6253c commit b38f0fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/interpreter/compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4071,7 +4071,7 @@ void InterpCompiler::EmitCall(CORINFO_RESOLVED_TOKEN* pConstrainedToken, bool re
40714071
// intrinsics for the recursive call. Otherwise we will just recurse infinitely and overflow stack.
40724072
// This expansion can produce value that is inconsistent with the value seen by JIT/R2R code that can
40734073
// cause user code to misbehave. This is by design. One-off method Interpretation is for internal use only.
4074-
bool isMustExpand = (callInfo.hMethod == m_methodHnd) || (ni == NI_System_StubHelpers_GetStubContext);
4074+
bool isMustExpand = (callInfo.hMethod == m_methodHnd) || (ni == NI_System_StubHelpers_GetStubContext || ni == NI_System_Runtime_CompilerServices_RuntimeHelpers_SetNextCallGenericContext || ni == NI_System_Runtime_CompilerServices_RuntimeHelpers_SetNextCallAsyncContinuation);
40754075
if ((InterpConfig.InterpMode() == 3) || isMustExpand)
40764076
{
40774077
if (EmitNamedIntrinsicCall(ni, callInfo.kind == CORINFO_CALL, resolvedCallToken.hClass, callInfo.hMethod, callInfo.sig))

0 commit comments

Comments
 (0)