aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-11-19 18:19:48 +0100
committerBjörn Gustavsson <[email protected]>2013-12-13 12:52:06 +0100
commit27885492f26bc19479ea7f86b15434f4882d67fe (patch)
tree8610d7a773c18b3e20dd316c382e7c1b175cb7c1
parent7bd678640d855ee9053d6d78434a98d977ad0f1f (diff)
downloadotp-27885492f26bc19479ea7f86b15434f4882d67fe.tar.gz
otp-27885492f26bc19479ea7f86b15434f4882d67fe.tar.bz2
otp-27885492f26bc19479ea7f86b15434f4882d67fe.zip
Add missing recv_set, recv_mark and '%' to BEAM live annotation
-rw-r--r--lib/compiler/src/beam_utils.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_utils.erl b/lib/compiler/src/beam_utils.erl
index e9911fefd9..36f3200d11 100644
--- a/lib/compiler/src/beam_utils.erl
+++ b/lib/compiler/src/beam_utils.erl
@@ -759,6 +759,12 @@ live_opt([{allocate,_,Live}=I|Is], _, D, Acc) ->
live_opt(Is, live_call(Live), D, [I|Acc]);
live_opt([{allocate_heap,_,_,Live}=I|Is], _, D, Acc) ->
live_opt(Is, live_call(Live), D, [I|Acc]);
+live_opt([{'%',_}=I|Is], Regs, D, Acc) ->
+ live_opt(Is, Regs, D, [I|Acc]);
+live_opt([{recv_set,_}=I|Is], Regs, D, Acc) ->
+ live_opt(Is, Regs, D, [I|Acc]);
+live_opt([{recv_mark,_}=I|Is], Regs, D, Acc) ->
+ live_opt(Is, Regs, D, [I|Acc]);
live_opt([], _, _, Acc) -> Acc.