diff options
author | Fadi Hanna <fadim@microsoft.com> | 2019-05-06 16:00:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 16:00:05 -0700 |
commit | 91c9d8633dec79178a38a7be5dcf1caebda49fd0 (patch) | |
tree | 35a111c24eef25583ca6a45710d56b339e6abaf1 /src/vm | |
parent | 0604a6e996f8cce5d3fb43b2a3e80cef0bf5dc4a (diff) | |
download | coreclr-91c9d8633dec79178a38a7be5dcf1caebda49fd0.tar.gz coreclr-91c9d8633dec79178a38a7be5dcf1caebda49fd0.tar.bz2 coreclr-91c9d8633dec79178a38a7be5dcf1caebda49fd0.zip |
Replace E_FAIL with E_NOTIMPL for an unsupported R2R encoding (Future work) (#24386)
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/ceeload.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/ceeload.cpp b/src/vm/ceeload.cpp index eb1dcb9eb3..539848b817 100644 --- a/src/vm/ceeload.cpp +++ b/src/vm/ceeload.cpp @@ -5239,7 +5239,9 @@ mdTypeRef Module::LookupTypeRefByMethodTable(MethodTable *pMT) // FUTURE: Encoding of new cross-module references for ReadyToRun // This warning is hit for recursive cross-module inlining. It is commented out to avoid noise. - // GetSvcLogger()->Log(W("ReadyToRun: Type reference outside of current version bubble cannot be encoded\n")); + // if (g_CorCompileVerboseLevel >= CORCOMPILE_VERBOSE) + // GetSvcLogger()->Log(W("ReadyToRun: Type reference outside of current version bubble cannot be encoded\n")); + ThrowHR(E_NOTIMPL); } else #endif // FEATURE_READYTORUN_COMPILER |