Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/coreclr/src/jit/flowgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ void Compiler::fgInit()
/* This global flag is set whenever we add a throw block for a RngChk */
fgRngChkThrowAdded = false; /* reset flag for fgIsCodeAdded() */

/* Keep track of whether or not EH statements have been optimized */
fgOptimizedFinally = false;

/* We will record a list of all BBJ_RETURN blocks here */
fgReturnBlocks = nullptr;

Expand Down Expand Up @@ -25436,6 +25439,7 @@ PhaseStatus Compiler::fgCloneFinally()
if (cloneCount > 0)
{
JITDUMP("fgCloneFinally() cloned %u finally handlers\n", cloneCount);
fgOptimizedFinally = true;

#ifdef DEBUG
if (verbose)
Expand Down