We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0adf9b5 commit 8978800Copy full SHA for 8978800
src/coreclr/src/jit/flowgraph.cpp
@@ -14704,9 +14704,9 @@ bool Compiler::fgOptimizeSwitchBranches(BasicBlock* block)
14704
LIR::ReadOnlyRange range(zeroConstNode, switchTree);
14705
m_pLowering->LowerRange(block, range);
14706
}
14707
- else
+ else if (fgStmtListThreaded)
14708
{
14709
- // Re-link the nodes for this statement.
+ gtSetStmtInfo(switchStmt);
14710
fgSetStmtSeq(switchStmt);
14711
14712
0 commit comments