Adjust ref counts during EH normalization (dotnet/coreclr#8713)
authorAndy Ayers <andya@microsoft.com>
Tue, 3 Jan 2017 21:30:09 +0000 (13:30 -0800)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2017 21:30:09 +0000 (13:30 -0800)
commit9d62b1b1c7ab16ce077e6237058129778cc42872
tree52ebb7f2712f4bd99658c84b89874ffbcbd28a70
parentd2a1bf1f6ccaf784dfbc553518f74bf2f76afd60
Adjust ref counts during EH normalization (dotnet/coreclr#8713)

EH normalization can leave incorrect ref counts. This caused asserts in a few
cases with the forthcoming finally cloning, as these EH related blocks were
exposed to flow optimizations.

Commit migrated from https://github.com/dotnet/coreclr/commit/7be8f56ce218029bcd4d68f013aacd4070994b22
src/coreclr/src/jit/jiteh.cpp