diff options
author | Björn Gustavsson <[email protected]> | 2010-04-22 15:18:13 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-05-11 08:53:27 +0200 |
commit | d60f055697cfe8e7f94be4d291d49bb00a66bc52 (patch) | |
tree | 0db2f8a0ae0737e3f58460b2b1fccdae525b6c9b /lib/hipe/icode | |
parent | ea0f50dfbc8ec99820b81f99be81ada727bb3cf8 (diff) | |
download | otp-d60f055697cfe8e7f94be4d291d49bb00a66bc52.tar.gz otp-d60f055697cfe8e7f94be4d291d49bb00a66bc52.tar.bz2 otp-d60f055697cfe8e7f94be4d291d49bb00a66bc52.zip |
Introduce the new recv_mark/1 and recv_mark/1 instructions
Make the recv_mark/1 and recv_mark/1 instructions known to the
compiler and run-time system. For the moment, make the loader ignore
any occurrences of those instructions in BEAM files.
Also update hipe_beam_to_icode to ignore those instructions.
Diffstat (limited to 'lib/hipe/icode')
-rw-r--r-- | lib/hipe/icode/hipe_beam_to_icode.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hipe/icode/hipe_beam_to_icode.erl b/lib/hipe/icode/hipe_beam_to_icode.erl index 3923e98673..f24cf90ae2 100644 --- a/lib/hipe/icode/hipe_beam_to_icode.erl +++ b/lib/hipe/icode/hipe_beam_to_icode.erl @@ -431,6 +431,11 @@ 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) -> + trans_fun(Instructions,Env); +trans_fun([{mark_set,{f,_}}|Instructions], Env) -> + trans_fun(Instructions,Env); %%-------------------------------------------------------------------- %%--- Translation of arithmetics {bif,ArithOp, ...} --- %%-------------------------------------------------------------------- |