diff options
author | John Högberg <[email protected]> | 2018-09-24 08:10:18 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-09-28 11:40:12 +0200 |
commit | 1fbaf155b579bfb1fdec4ac97f7b5fa2211673c6 (patch) | |
tree | 249bd29045088dda78f92dd57d3e027d3613c4f0 /lib/compiler/src/beam_utils.erl | |
parent | 330629264c93535f352dc09b51d34f11ec791eb6 (diff) | |
download | otp-1fbaf155b579bfb1fdec4ac97f7b5fa2211673c6.tar.gz otp-1fbaf155b579bfb1fdec4ac97f7b5fa2211673c6.tar.bz2 otp-1fbaf155b579bfb1fdec4ac97f7b5fa2211673c6.zip |
Remove unused instruction bs_context_to_binary from the compiler
This has been superseded by bs_get_tail/3. Note that it is NOT
removed from the emulator or beam_disasm, as old modules are still
legal.
Diffstat (limited to 'lib/compiler/src/beam_utils.erl')
-rw-r--r-- | lib/compiler/src/beam_utils.erl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/compiler/src/beam_utils.erl b/lib/compiler/src/beam_utils.erl index 686d314c2d..626e041ea0 100644 --- a/lib/compiler/src/beam_utils.erl +++ b/lib/compiler/src/beam_utils.erl @@ -458,11 +458,6 @@ check_liveness(R, [{get_tuple_element,S,_,D}|Is], St) -> D -> {killed,St}; _ -> check_liveness(R, Is, St) end; -check_liveness(R, [{bs_context_to_binary,S}|Is], St) -> - case R of - S -> {used,St}; - _ -> check_liveness(R, Is, St) - end; check_liveness(R, [{loop_rec,{f,_},{x,0}}|_], St) -> case R of {x,_} -> |