aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_z.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_z.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_z.erl')
-rw-r--r--lib/compiler/src/beam_z.erl2
1 files changed, 2 insertions, 0 deletions
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.