aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_a.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_a.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_a.erl')
-rw-r--r--lib/compiler/src/beam_a.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_a.erl b/lib/compiler/src/beam_a.erl
index b7ed78c977..ed594bb0d4 100644
--- a/lib/compiler/src/beam_a.erl
+++ b/lib/compiler/src/beam_a.erl
@@ -78,4 +78,6 @@ rename_instr({select_val=I,Reg,Fail,{list,List}}) ->
{select,I,Reg,Fail,List};
rename_instr({select_tuple_arity=I,Reg,Fail,{list,List}}) ->
{select,I,Reg,Fail,List};
+rename_instr(send) ->
+ {call_ext,2,send};
rename_instr(I) -> I.