aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_disasm.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-22 15:18:13 +0200
committerBjörn Gustavsson <[email protected]>2010-05-11 08:53:27 +0200
commitd60f055697cfe8e7f94be4d291d49bb00a66bc52 (patch)
tree0db2f8a0ae0737e3f58460b2b1fccdae525b6c9b /lib/compiler/src/beam_disasm.erl
parentea0f50dfbc8ec99820b81f99be81ada727bb3cf8 (diff)
downloadotp-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/compiler/src/beam_disasm.erl')
-rw-r--r--lib/compiler/src/beam_disasm.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_disasm.erl b/lib/compiler/src/beam_disasm.erl
index c956f2f000..a66bd2a23a 100644
--- a/lib/compiler/src/beam_disasm.erl
+++ b/lib/compiler/src/beam_disasm.erl
@@ -1096,6 +1096,14 @@ resolve_inst({on_load,[]},_,_,_) ->
on_load;
%%
+%% R14A.
+%%
+resolve_inst({recv_mark,[Lbl]},_,_,_) ->
+ {recv_mark,Lbl};
+resolve_inst({recv_set,[Lbl]},_,_,_) ->
+ {recv_set,Lbl};
+
+%%
%% Catches instructions that are not yet handled.
%%
resolve_inst(X,_,_,_) -> ?exit({resolve_inst,X}).