File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6048,7 +6048,16 @@ int Compiler::compCompile(CORINFO_MODULE_HANDLE classPtr,
6048
6048
// but it requires moving the whole set of logic down into compCompileHelper after compInitOptions has
6049
6049
// run and we're going to end up exiting early if JIT_FLAG_ALT_JIT and opts.altJit don't match anyways
6050
6050
6051
- if (!info.compMatchedVM || compileFlags->IsSet (JitFlags::JIT_FLAG_ALT_JIT))
6051
+ bool enableAvailableIsas = !info.compMatchedVM ;
6052
+
6053
+ #ifdef DEBUG
6054
+ if (compileFlags->IsSet (JitFlags::JIT_FLAG_ALT_JIT) && JitConfig.RunAltJitCode () == 0 )
6055
+ {
6056
+ enableAvailableIsas = true ;
6057
+ }
6058
+ #endif // DEBUG
6059
+
6060
+ if (enableAvailableIsas)
6052
6061
{
6053
6062
CORINFO_InstructionSetFlags instructionSetFlags;
6054
6063
You can’t perform that action at this time.
0 commit comments