diff options
author | Björn Gustavsson <[email protected]> | 2018-06-27 12:51:22 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-06-27 13:22:20 +0200 |
commit | 81ce942d77826dd7219f1226866ffb2fa71c1d28 (patch) | |
tree | 1763b4bb4dde689878c4be55de3ae6c0521629f8 /lib/compiler/test/z_SUITE.erl | |
parent | a0ae44f324576104760a63fe6cf63e0ca31756fc (diff) | |
download | otp-81ce942d77826dd7219f1226866ffb2fa71c1d28.tar.gz otp-81ce942d77826dd7219f1226866ffb2fa71c1d28.tar.bz2 otp-81ce942d77826dd7219f1226866ffb2fa71c1d28.zip |
beam_type: Fix unsafe optimization
beam_type assumed that the operand for the bs_context_to_binary
instruction must be a binary. That is not correct;
bs_context_to_binary accepts anything. Based on the incorrect
assumption, beam_type would remove other test instructions.
The bug was introduced in eee8655788d2, which was supposed
to be just a refactoring commit.
https://bugs.erlang.org/browse/ERL-655
Diffstat (limited to 'lib/compiler/test/z_SUITE.erl')
0 files changed, 0 insertions, 0 deletions