aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-05-12 10:07:23 +0000
committerErlang/OTP <[email protected]>2010-05-12 10:07:23 +0000
commitb5295964210011f0918a02807799426f3d2300a3 (patch)
tree03c4ad3053083766489cc2d65ff42c52f289c625 /lib/hipe/icode
parenta0df9ab3d7c9b301f717eaea2455613d60d3dec3 (diff)
downloadotp-b5295964210011f0918a02807799426f3d2300a3.tar.gz
otp-b5295964210011f0918a02807799426f3d2300a3.tar.bz2
otp-b5295964210011f0918a02807799426f3d2300a3.zip
hipe_beam_to_icode: Correct names of new recv_* instructions
The bug was introduced in d60f055697cfe8e7f94be4d291d49bb00a66bc52.
Diffstat (limited to 'lib/hipe/icode')
-rw-r--r--lib/hipe/icode/hipe_beam_to_icode.erl8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/hipe/icode/hipe_beam_to_icode.erl b/lib/hipe/icode/hipe_beam_to_icode.erl
index a7318e33e8..b9679fbb12 100644
--- a/lib/hipe/icode/hipe_beam_to_icode.erl
+++ b/lib/hipe/icode/hipe_beam_to_icode.erl
@@ -22,8 +22,6 @@
%% Author : Kostis Sagonas
%% Description : Translates symbolic BEAM code to Icode
%%=======================================================================
-%% $Id$
-%%=======================================================================
%% @doc
%% This file translates symbolic BEAM code to Icode which is HiPE's
%% intermediate code representation. Either the code of an entire
@@ -431,10 +429,10 @@ trans_fun([{wait_timeout,{_,Lbl},Reg}|Instructions], Env) ->
SuspTmout = hipe_icode:mk_if(suspend_msg_timeout,[],
map_label(Lbl),hipe_icode:label_name(DoneLbl)),
Movs ++ [SetTmout, SuspTmout, DoneLbl | trans_fun(Instructions,Env1)];
-%%--- mark_recv/1 & mark_set/1 ---
-trans_fun([{mark_recv,{f,_}}|Instructions], Env) ->
+%%--- recv_mark/1 & recv_set/1 --- XXX: Handle better??
+trans_fun([{recv_mark,{f,_}}|Instructions], Env) ->
trans_fun(Instructions,Env);
-trans_fun([{mark_set,{f,_}}|Instructions], Env) ->
+trans_fun([{recv_set,{f,_}}|Instructions], Env) ->
trans_fun(Instructions,Env);
%%--------------------------------------------------------------------
%%--- Translation of arithmetics {bif,ArithOp, ...} ---