diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-02-07 18:28:29 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-02-07 18:28:29 +0100 |
commit | 67663e057a35dfee45bf802539738b8ef107bd32 (patch) | |
tree | a0bb369bfd343436f59630d31d5bf72ffc87c801 /erts/emulator/beam/beam_load.c | |
parent | 46cad6ef63c4b9adc7b9fd795e8484c03e73dce5 (diff) | |
download | otp-67663e057a35dfee45bf802539738b8ef107bd32.tar.gz otp-67663e057a35dfee45bf802539738b8ef107bd32.tar.bz2 otp-67663e057a35dfee45bf802539738b8ef107bd32.zip |
compiler: Fix sys_core_fold let optimization
Map variable was not covered and faulty optimization could occur.
Ex.
t() ->
M0 = id(#{ "a" => 1 }),
#{ "a" := _ } = M0,
M0#{ "a" := b }.
M0 was lost in let expression optimization.
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
0 files changed, 0 insertions, 0 deletions