diff options
author | John Chen (CLR) <jochen@microsoft.com> | 2016-03-04 19:38:55 -0800 |
---|---|---|
committer | John Chen (CLR) <jochen@microsoft.com> | 2016-03-05 10:17:48 -0800 |
commit | a6de1e4296cb486bdb41724e4734faace158319e (patch) | |
tree | 89086eb7f3229011670ae0cbbe9b237673a3c85a /src | |
parent | afa5697c1d449572bc8861a04eabd36a5f0144ae (diff) | |
download | coreclr-a6de1e4296cb486bdb41724e4734faace158319e.tar.gz coreclr-a6de1e4296cb486bdb41724e4734faace158319e.tar.bz2 coreclr-a6de1e4296cb486bdb41724e4734faace158319e.zip |
Modify zaprequire switch to allow Ready-to-Run images
Address issue #3527.
Diffstat (limited to 'src')
-rw-r--r-- | src/vm/domainfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vm/domainfile.cpp b/src/vm/domainfile.cpp index 4285024b33..0c6e4fcdc1 100644 --- a/src/vm/domainfile.cpp +++ b/src/vm/domainfile.cpp @@ -943,6 +943,11 @@ void DomainFile::CheckZapRequired() if (m_pFile->HasNativeImage() || !IsZapRequired()) return; +#ifdef FEATURE_READYTORUN + if(m_pFile->GetLoaded()->HasReadyToRunHeader()) + return; +#endif + // Flush any log messages GetFile()->FlushExternalLog(); |