diff options
author | Anthony Ramine <[email protected]> | 2013-11-19 18:19:48 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-12-13 12:52:06 +0100 |
commit | 27885492f26bc19479ea7f86b15434f4882d67fe (patch) | |
tree | 8610d7a773c18b3e20dd316c382e7c1b175cb7c1 /lib/compiler/src | |
parent | 7bd678640d855ee9053d6d78434a98d977ad0f1f (diff) | |
download | otp-27885492f26bc19479ea7f86b15434f4882d67fe.tar.gz otp-27885492f26bc19479ea7f86b15434f4882d67fe.tar.bz2 otp-27885492f26bc19479ea7f86b15434f4882d67fe.zip |
Add missing recv_set, recv_mark and '%' to BEAM live annotation
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/beam_utils.erl | 6 |
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. |