aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_ssa_codegen.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_ssa_codegen.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_ssa_codegen.erl')
-rw-r--r--lib/compiler/src/beam_ssa_codegen.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/compiler/src/beam_ssa_codegen.erl b/lib/compiler/src/beam_ssa_codegen.erl
index 281e953127..1c7563faa0 100644
--- a/lib/compiler/src/beam_ssa_codegen.erl
+++ b/lib/compiler/src/beam_ssa_codegen.erl
@@ -345,7 +345,6 @@ classify_heap_need(bs_utf8_size) -> neutral;
classify_heap_need(build_stacktrace) -> gc;
classify_heap_need(call) -> gc;
classify_heap_need(catch_end) -> gc;
-classify_heap_need(context_to_binary) -> gc;
classify_heap_need(copy) -> neutral;
classify_heap_need(extract) -> gc;
classify_heap_need(get_hd) -> neutral;
@@ -1395,8 +1394,6 @@ cg_instr(bs_set_position, [Ctx,Pos], _Dst) ->
[{bs_set_position,Ctx,Pos}];
cg_instr(build_stacktrace, Args, Dst) ->
setup_args(Args) ++ [build_stacktrace|copy({x,0}, Dst)];
-cg_instr(context_to_binary, [Src], _Dst) ->
- [{bs_context_to_binary,Src}];
cg_instr(set_tuple_element=Op, [New,Tuple,{integer,Index}], _Dst) ->
[{Op,New,Tuple,Index}];
cg_instr({float,clearerror}, [], _Dst) ->