aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_receive.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-09-05 12:16:44 +0200
committerBjörn Gustavsson <[email protected]>2012-10-10 15:37:28 +0200
commit47d109fc4eda1288e8d21a31b603b3cfc300536a (patch)
tree12c4692c6a4c19147b417cd91925bd26af1a5bd0 /lib/compiler/src/beam_receive.erl
parent531aa719de264c81876da2db1ca9882f8f5db663 (diff)
downloadotp-47d109fc4eda1288e8d21a31b603b3cfc300536a.tar.gz
otp-47d109fc4eda1288e8d21a31b603b3cfc300536a.tar.bz2
otp-47d109fc4eda1288e8d21a31b603b3cfc300536a.zip
Represent the 'send' instruction as a call_ext/2 instruction
Somewhat reduce code bloat.
Diffstat (limited to 'lib/compiler/src/beam_receive.erl')
-rw-r--r--lib/compiler/src/beam_receive.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/compiler/src/beam_receive.erl b/lib/compiler/src/beam_receive.erl
index b19a9560b7..fe95a7e35b 100644
--- a/lib/compiler/src/beam_receive.erl
+++ b/lib/compiler/src/beam_receive.erl
@@ -188,8 +188,6 @@ opt_update_regs({call_fun,_}, R, L) ->
{regs_kill_not_live(0, R),L};
opt_update_regs({kill,Y}, R, L) ->
{regs_kill([Y], R),L};
-opt_update_regs(send, R, L) ->
- {regs_kill_not_live(0, R),L};
opt_update_regs({'catch',_,{f,Lbl}}, R, L) ->
{R,gb_sets:add(Lbl, L)};
opt_update_regs({catch_end,_}, R, L) ->