[release/6.0] Consider finally that jumps to itself as non-empty (#58881)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 10 Sep 2021 18:08:53 +0000 (11:08 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Sep 2021 18:08:53 +0000 (11:08 -0700)
commit669ebb45e73289427526a8b8e418e6c1a55f0896
tree4bee759956c1b2384a08de60bc2841fe3e1959e9
parent9f2e4ace08d96eb5a43d55f05a5c92776009443e
[release/6.0] Consider finally that jumps to itself as non-empty (#58881)

* decrement the reference of unreachable finally

* Proper fix

Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
src/coreclr/jit/fgehopt.cpp
src/coreclr/jit/jiteh.cpp