diff options
author | Björn Gustavsson <[email protected]> | 2018-12-18 12:59:38 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-01-07 12:55:26 +0100 |
commit | 7a01269e62f21ac3ba9858dd358716081549bea3 (patch) | |
tree | fb11fe61a52e2f1b3dd1801491646d773c90b42a /lib/stdlib/doc/src/shell.xml | |
parent | f0ea49125815ec9197ffb6c74e20ebb5f10732d4 (diff) | |
download | otp-7a01269e62f21ac3ba9858dd358716081549bea3.tar.gz otp-7a01269e62f21ac3ba9858dd358716081549bea3.tar.bz2 otp-7a01269e62f21ac3ba9858dd358716081549bea3.zip |
Remove unsafe optimization for delaying creation of stackframe
b89044a800c4 introduced an optimization that tries to delay creation
of stack frames. It turns out that this optimization is not always
safe. (See the new test case for an example.)
Since the code generator is completely rewritten in the `master`
branch for the upcoming OTP 22 release, it does not make sense trying
to mend this optimization. It is better to remove it. Out of a sample
of about 1000 modules in OTP, about 50 of them are changed as a result
of removing this optimization.
The compiler in OTP 22 will do the same optimization in a cleaner,
safer, and more effective way.
https://bugs.erlang.org/browse/ERL-807
Diffstat (limited to 'lib/stdlib/doc/src/shell.xml')
0 files changed, 0 insertions, 0 deletions