Skip to content

Commit

Permalink
JIT: Run Compiler::fgDetermineFirstColdBlock at most once (#109127)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanasifkhalid authored Oct 22, 2024
1 parent 4794a57 commit 601fad8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/coreclr/jit/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 601fad8

Please sign in to comment.