diff options
author | John Högberg <[email protected]> | 2018-07-04 09:49:14 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-07-04 09:49:14 +0200 |
commit | e746e48b165ee82761f76eabf954950102ddcd11 (patch) | |
tree | 45781ffab7c31b1e3d9422c63467a7d2b519e99c /lib/compiler/src/beam_utils.erl | |
parent | acda1cd97b575feea532886231300aa38e65fb8c (diff) | |
parent | e4529b82e0f2980a8b3f4b961dc18ff1fdd43d8e (diff) | |
download | otp-e746e48b165ee82761f76eabf954950102ddcd11.tar.gz otp-e746e48b165ee82761f76eabf954950102ddcd11.tar.bz2 otp-e746e48b165ee82761f76eabf954950102ddcd11.zip |
Merge branch 'maint'
* maint:
Updated OTP version
Update release notes
Update version numbers
Eliminate a crash in the beam_jump pass
stdlib: Fix a 'chars_limit' bug
Fix a race condition when generating async operation ids
Fix internal compiler error for map_get/2
beam_type: Fix unsafe optimization
public_key: Remove moduli 5121 and 7167 Thoose were added by 598629aeba9de98e8cdf5637043eb34e5d407751 but are not universaly supported.
Diffstat (limited to 'lib/compiler/src/beam_utils.erl')
-rw-r--r-- | lib/compiler/src/beam_utils.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_utils.erl b/lib/compiler/src/beam_utils.erl index ff587c4982..3bb671f034 100644 --- a/lib/compiler/src/beam_utils.erl +++ b/lib/compiler/src/beam_utils.erl @@ -355,6 +355,9 @@ split_even(Rs) -> split_even(Rs, [], []). %% exit BIF will raise an exception %% used - Reg is used +check_liveness({fr,_}, _, St) -> + %% Conservatively always consider the floating point register used. + {used,St}; check_liveness(R, [{block,Blk}|Is], St0) -> case check_liveness_block(R, Blk, St0) of {transparent,St1} -> |