Revert "Disable fragile NGen for System.Private.CoreLib.dll on ARM" (#16863)
authorSergey Andreenko <seandree@microsoft.com>
Fri, 9 Mar 2018 20:28:34 +0000 (12:28 -0800)
committerGitHub <noreply@github.com>
Fri, 9 Mar 2018 20:28:34 +0000 (12:28 -0800)
This reverts commit bc3b01b5612b21fdb8f11ec6917e5ec4503f1dcc.

src/tools/crossgen/crossgen.cpp

index d163423..8c800e4 100644 (file)
@@ -854,10 +854,8 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv)
     // Are we compiling mscorlib.dll? 
     bool fCompilingMscorlib = StringEndsWith((LPWSTR)pwzFilename, CoreLibName_IL_W);
 
-#ifndef _TARGET_ARM_
     if (fCompilingMscorlib)
         dwFlags &= ~NGENWORKER_FLAGS_READYTORUN;
-#endif // _TARGET_ARM_
 
     if(pwzPlatformAssembliesPaths != nullptr)
     {