Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b51e34c

Browse files
JIT: Don't try to do hot/cold splitting unless optimizing (#106515)
1 parent 239fad9 commit b51e34c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/coreclr/jit/compiler.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5255,11 +5255,11 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl
52555255
// Conditional to Switch conversion
52565256
//
52575257
DoPhase(this, PHASE_SWITCH_RECOGNITION, &Compiler::optSwitchRecognition);
5258-
}
52595258

5260-
// Determine start of cold region if we are hot/cold splitting
5261-
//
5262-
DoPhase(this, PHASE_DETERMINE_FIRST_COLD_BLOCK, &Compiler::fgDetermineFirstColdBlock);
5259+
// Determine start of cold region if we are hot/cold splitting
5260+
//
5261+
DoPhase(this, PHASE_DETERMINE_FIRST_COLD_BLOCK, &Compiler::fgDetermineFirstColdBlock);
5262+
}
52635263

52645264
#ifdef DEBUG
52655265
// Stash the current estimate of the function's size if necessary.

0 commit comments

Comments
 (0)