diff --git a/src/coreclr/vm/class.cpp b/src/coreclr/vm/class.cpp index f42793017ee9b4..7cb2a6582635f9 100644 --- a/src/coreclr/vm/class.cpp +++ b/src/coreclr/vm/class.cpp @@ -660,13 +660,8 @@ HRESULT EEClass::AddMethodDesc( if (FAILED(hr = pImport->GetSigOfMethodDef(methodDef, &sigLen, &sig))) return hr; - SigParser sigParser(sig, sigLen); - ULONG offsetOfAsyncDetails; - bool isValueTask; - MethodReturnKind returnKind = ClassifyMethodReturnKind(sigParser, pModule, &offsetOfAsyncDetails, &isValueTask); - if (returnKind != MethodReturnKind::NormalMethod) + if (IsMiAsync(dwImplFlags)) { - // TODO: (async) revisit and examine if this can be supported LOG((LF_ENC, LL_INFO100, "**Error** EnC for Async methods is NYI")); return E_FAIL; } diff --git a/src/coreclr/vm/multicorejit.cpp b/src/coreclr/vm/multicorejit.cpp index a9d1c7b3879ff9..2f9b78f5cf6767 100644 --- a/src/coreclr/vm/multicorejit.cpp +++ b/src/coreclr/vm/multicorejit.cpp @@ -400,7 +400,7 @@ HRESULT MulticoreJitRecorder::WriteOutput(FILE * fp) MethodDesc * pMethod = m_JitInfoArray[i].GetMethodDescAndClean(); if (pMethod->IsAsyncVariantMethod()) { - // TODO: (async) consider adding support for async variants in the future + // TODO: (async) Multicore JIT https://github.com/dotnet/runtime/issues/115097 skipped++; continue; } diff --git a/src/coreclr/vm/readytoruninfo.cpp b/src/coreclr/vm/readytoruninfo.cpp index 34103df26c9b60..4b678da07a0d13 100644 --- a/src/coreclr/vm/readytoruninfo.cpp +++ b/src/coreclr/vm/readytoruninfo.cpp @@ -1120,7 +1120,7 @@ bool ReadyToRunInfo::GetPgoInstrumentationData(MethodDesc * pMD, BYTE** pAllocat if (ReadyToRunCodeDisabled()) return false; - // TODO: (async) PGO support for async variants + // TODO: (async) PGO support for async variants (https://github.com/dotnet/runtime/issues/121755) if (pMD->IsAsyncVariantMethod()) return false; @@ -1196,7 +1196,7 @@ PCODE ReadyToRunInfo::GetEntryPoint(MethodDesc * pMD, PrepareCodeConfig* pConfig if (ReadyToRunCodeDisabled()) goto done; - // TODO: (async) R2R support for async variants + // TODO: (async) R2R support for async variants (https://github.com/dotnet/runtime/issues/121559) if (pMD->IsAsyncVariantMethod()) goto done;