From 601fad878bc06eacbc69e67433c62d2be1de79a7 Mon Sep 17 00:00:00 2001 From: Aman Khalid Date: Tue, 22 Oct 2024 22:06:04 +0000 Subject: [PATCH] JIT: Run Compiler::fgDetermineFirstColdBlock at most once (#109127) --- src/coreclr/jit/compiler.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/coreclr/jit/compiler.cpp b/src/coreclr/jit/compiler.cpp index 27ed0df9a5423..cf40734b29300 100644 --- a/src/coreclr/jit/compiler.cpp +++ b/src/coreclr/jit/compiler.cpp @@ -5269,9 +5269,6 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl DoPhase(this, PHASE_OPTIMIZE_LAYOUT, lateLayoutPhase); } - // Determine start of cold region if we are hot/cold splitting - DoPhase(this, PHASE_DETERMINE_FIRST_COLD_BLOCK, &Compiler::fgDetermineFirstColdBlock); - // Now that the flowgraph is finalized, run post-layout optimizations. // DoPhase(this, PHASE_OPTIMIZE_POST_LAYOUT, &Compiler::optOptimizePostLayout);