diff options
author | Swift Kim <swift.kim@samsung.com> | 2019-07-12 15:50:08 +0900 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2020-03-25 15:29:41 +0300 |
commit | adcbf6d8b676d209709c4523e293f11005c6d1aa (patch) | |
tree | f44a66ad1916df3682617187b44fdbdd6bc6ece9 /src | |
parent | b241dc76c28557e15aef1a78f9bae5bd67134c7e (diff) | |
download | coreclr-adcbf6d8b676d209709c4523e293f11005c6d1aa.tar.gz coreclr-adcbf6d8b676d209709c4523e293f11005c6d1aa.tar.bz2 coreclr-adcbf6d8b676d209709c4523e293f11005c6d1aa.zip |
Build error fix on FEATURE_PREJIT=true
This fix is to update usages of SetupGcCoverage() under
FEATURE_PREJIT aligned to the signature change in #25261.
Diffstat (limited to 'src')
-rw-r--r-- | src/vm/dllimport.cpp | 2 | ||||
-rw-r--r-- | src/vm/prestub.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/dllimport.cpp b/src/vm/dllimport.cpp index eed690454d..685ea03309 100644 --- a/src/vm/dllimport.cpp +++ b/src/vm/dllimport.cpp @@ -5569,7 +5569,7 @@ MethodDesc* RestoreNGENedStub(MethodDesc* pStubMD) #if defined(HAVE_GCCOVER) if (GCStress<cfg_instr_ngen>::IsEnabled()) - SetupGcCoverage(pStubMD, (BYTE*) pCode); + SetupGcCoverage(NativeCodeVersion(pStubMD), (BYTE*)pCode); #endif // HAVE_GCCOVER } diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp index a8d3e4247a..7d756c6728 100644 --- a/src/vm/prestub.cpp +++ b/src/vm/prestub.cpp @@ -538,7 +538,7 @@ PCODE MethodDesc::GetPrecompiledNgenCode(PrepareCodeConfig* pConfig) #ifdef HAVE_GCCOVER if (GCStress<cfg_instr_ngen>::IsEnabled()) - SetupGcCoverage(this, (BYTE*)pCode); + SetupGcCoverage(pConfig->GetCodeVersion(), (BYTE*)pCode); #endif // HAVE_GCCOVER #ifdef PROFILING_SUPPORTED |