JIT: fixup finally target flag after finally opts run (dotnet/coreclr#9171)
authorAndy Ayers <andya@microsoft.com>
Mon, 30 Jan 2017 16:19:25 +0000 (08:19 -0800)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2017 16:19:25 +0000 (08:19 -0800)
commit239382923beae9dd518e4680805d615ba6aa65f3
tree1c6649a306657b14565015cd5bea0d0486f4656b
parentb0166540ede04d00bd305ff7bb65c1761a925b7d
JIT: fixup finally target flag after finally opts run (dotnet/coreclr#9171)

The finally target flag can't be incrementally maintaned during finally
opts, so flag if any of these opts run and then run a post-opts fixup pass
to properly determine the flag value.

Only impacts arm targets.

Closes dotnet/coreclr#9015.

Commit migrated from https://github.com/dotnet/coreclr/commit/31ad45c2fd059da82855226313606d9824bae25e
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/morph.cpp