From 47d109fc4eda1288e8d21a31b603b3cfc300536a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 5 Sep 2012 12:16:44 +0200 Subject: Represent the 'send' instruction as a call_ext/2 instruction Somewhat reduce code bloat. --- lib/compiler/src/beam_receive.erl | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/compiler/src/beam_receive.erl') 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) -> -- cgit v1.2.3