summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zap/zapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp
index 0a7aa8ad31..038f4edc29 100644
--- a/src/zap/zapper.cpp
+++ b/src/zap/zapper.cpp
@@ -2636,7 +2636,7 @@ HRESULT Zapper::Compile(LPCWSTR string, CORCOMPILE_NGEN_SIGNATURE * pNativeImage
#endif
#if defined(CROSSGEN_COMPILE) || defined(FEATURE_CORECLR)
- if (fMscorlib || IsReadyToRunCompilation())
+ if (fMscorlib)
{
//
// Disallow use of native image to force a new native image generation for mscorlib