JIT: Remove empty try regions (#8949)
authorAndy Ayers <andya@microsoft.com>
Fri, 27 Jan 2017 17:36:09 +0000 (09:36 -0800)
committerGitHub <noreply@github.com>
Fri, 27 Jan 2017 17:36:09 +0000 (09:36 -0800)
commit119b04c1d3b7a9842eaaacb974e991e5d454f2b4
treec0086245e66eaf2c6542ad1d2618104f429c9470
parent13ff59c43fcf7ddede25579a8651d7ba50ecaa31
JIT: Remove empty try regions (#8949)

In runtimes that do not support thread abort, a try-finally with
an empty try can be optimized to simply the content of the finally.

See documentation update for more details.

Closes #8924.
Documentation/design-docs/finally-optimizations.md
src/jit/compiler.h
src/jit/compphases.h
src/jit/flowgraph.cpp
src/jit/jitconfigvalues.h
src/jit/morph.cpp