aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_jump.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-09-24 08:10:18 +0200
committerJohn Högberg <[email protected]>2018-09-28 11:40:12 +0200
commit1fbaf155b579bfb1fdec4ac97f7b5fa2211673c6 (patch)
tree249bd29045088dda78f92dd57d3e027d3613c4f0 /lib/compiler/src/beam_jump.erl
parent330629264c93535f352dc09b51d34f11ec791eb6 (diff)
downloadotp-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_jump.erl')
-rw-r--r--lib/compiler/src/beam_jump.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/compiler/src/beam_jump.erl b/lib/compiler/src/beam_jump.erl
index 6d0a8db2dc..fbff4cfd79 100644
--- a/lib/compiler/src/beam_jump.erl
+++ b/lib/compiler/src/beam_jump.erl
@@ -367,8 +367,6 @@ extract_seq([{line,_}=Line|Is], Acc) ->
extract_seq(Is, [Line|Acc]);
extract_seq([{block,_}=Bl|Is], Acc) ->
extract_seq_1(Is, [Bl|Acc]);
-extract_seq([{bs_context_to_binary,_}=I|Is], Acc) ->
- extract_seq_1(Is, [I|Acc]);
extract_seq([{label,_}|_]=Is, Acc) ->
extract_seq_1(Is, Acc);
extract_seq(_, _) -> no.