aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/v3_codegen.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-11-12 15:42:47 +0100
committerBjörn Gustavsson <[email protected]>2012-11-12 15:42:47 +0100
commita7190c2356ed82317a860e9db691e2d1a49a67d8 (patch)
treed72ee232eedddee826d16a578823a860ea94f28c /lib/compiler/src/v3_codegen.erl
parent135fdb3b1804089c5170c5995a9dae653a28f927 (diff)
parent2da980f03b0f67b1e8e15cb65049a90e3de401c0 (diff)
downloadotp-a7190c2356ed82317a860e9db691e2d1a49a67d8.tar.gz
otp-a7190c2356ed82317a860e9db691e2d1a49a67d8.tar.bz2
otp-a7190c2356ed82317a860e9db691e2d1a49a67d8.zip
Merge branch 'bjorn/compiler/binary-matching/OTP-10567' into maint
* bjorn/compiler/binary-matching/OTP-10567: Fix compiler crash for binary matching and a complicated guard
Diffstat (limited to 'lib/compiler/src/v3_codegen.erl')
-rw-r--r--lib/compiler/src/v3_codegen.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/v3_codegen.erl b/lib/compiler/src/v3_codegen.erl
index be15495672..812e85553f 100644
--- a/lib/compiler/src/v3_codegen.erl
+++ b/lib/compiler/src/v3_codegen.erl
@@ -370,6 +370,7 @@ bsm_rename_ctx(#l{ke={test,_,_}}=L, _, _, _) -> L;
bsm_rename_ctx(#l{ke={bif,_,_,_}}=L, _, _, _) -> L;
bsm_rename_ctx(#l{ke={gc_bif,_,_,_}}=L, _, _, _) -> L;
bsm_rename_ctx(#l{ke={set,_,_}}=L, _, _, _) -> L;
+bsm_rename_ctx(#l{ke={call,_,_,_}}=L, _, _, _) -> L;
bsm_rename_ctx(#l{ke={block,_}}=L, Old, _, false) ->
%% This block is not inside a protected. The match context variable cannot
%% possibly be live inside the block.