diff options
author | Erlang/OTP <[email protected]> | 2018-06-29 14:30:24 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2018-06-29 14:30:24 +0200 |
commit | b2aa37d72997df921e935380a77b0e0226f33401 (patch) | |
tree | 38ce1ca11843379749d1dc0569e6969ece3b3004 /lib/compiler/src | |
parent | a7346cb8e104305a8bd49062e76a0496bf39cfe9 (diff) | |
parent | 81ce942d77826dd7219f1226866ffb2fa71c1d28 (diff) | |
download | otp-b2aa37d72997df921e935380a77b0e0226f33401.tar.gz otp-b2aa37d72997df921e935380a77b0e0226f33401.tar.bz2 otp-b2aa37d72997df921e935380a77b0e0226f33401.zip |
Merge branch 'bjorn/compiler/fix-skipped-matching/ERL-655/OTP-15156' into maint-21
* bjorn/compiler/fix-skipped-matching/ERL-655/OTP-15156:
beam_type: Fix unsafe optimization
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/beam_type.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_type.erl b/lib/compiler/src/beam_type.erl index b8c3ca1325..b5c979e529 100644 --- a/lib/compiler/src/beam_type.erl +++ b/lib/compiler/src/beam_type.erl @@ -559,7 +559,7 @@ update({bs_save2,_,_}, Ts) -> update({bs_restore2,_,_}, Ts) -> Ts; update({bs_context_to_binary,Dst}, Ts) -> - tdb_store(Dst, {binary,1}, Ts); + tdb_store(Dst, any, Ts); update({test,bs_start_match2,_,_,[Src,_],Dst}, Ts0) -> Ts = tdb_meet(Src, {binary,1}, Ts0), tdb_copy(Src, Dst, Ts); |