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_z.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/compiler/src/beam_z.erl') diff --git a/lib/compiler/src/beam_z.erl b/lib/compiler/src/beam_z.erl index f0e640c84a..f45f7abf38 100644 --- a/lib/compiler/src/beam_z.erl +++ b/lib/compiler/src/beam_z.erl @@ -60,4 +60,6 @@ undo_rename({bs_init,_,bs_init_writable=I,_,_,_}) -> I; undo_rename({select,I,Reg,Fail,List}) -> {I,Reg,Fail,{list,List}}; +undo_rename({call_ext,2,send}) -> + send; undo_rename(I) -> I. -- cgit v1.2.3