Fix unsupported instruction set handling in crossgen2 (#34605)
authorDavid Wrighton <davidwr@microsoft.com>
Tue, 7 Apr 2020 21:49:50 +0000 (14:49 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Apr 2020 21:49:50 +0000 (14:49 -0700)
- A refactoring during crossgen2 production in the recent pr broke the unsupported instruction set mode for crossgen

Fixes #34628

src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs

index 5ef9348..77b3743 100644 (file)
@@ -2951,7 +2951,7 @@ namespace Internal.JitInterface
                 if (!isMethodDefinedInCoreLib())
 #endif
                 {
-                    _actualInstructionSetSupported.AddInstructionSet(instructionSet);
+                    _actualInstructionSetUnsupported.AddInstructionSet(instructionSet);
                 }
             }
         }