diff options
author | John Högberg <[email protected]> | 2019-06-25 12:56:24 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-07-05 11:33:38 +0200 |
commit | 02c74c89232ed72f16c2a326e0c15938c3493041 (patch) | |
tree | 31d7c9db862cccd7750cc5b91abe4bed3ddb5ecd /.dir-locals.el | |
parent | 1e4e506b5c3af02632da29b0802e913121403bf4 (diff) | |
download | otp-02c74c89232ed72f16c2a326e0c15938c3493041.tar.gz otp-02c74c89232ed72f16c2a326e0c15938c3493041.tar.bz2 otp-02c74c89232ed72f16c2a326e0c15938c3493041.zip |
compiler: Introduce exception trampolines
When the compiler is smart enough to figure out that something
will always succeed, it will get rid of the failure branch, but
the inverse has not been possible because liveness optimization
could end up removing the instruction altogether (since it's never
used on the failure path), which is not okay when exceptions are in
the picture.
To prevent exception-generating instructions from being optimized
away when their branches are, we introduce a dummy instruction
that refers to the result on the failure path, ensuring that it
won't be optimized away.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions