diff options
author | Björn Gustavsson <[email protected]> | 2016-10-26 13:35:11 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-10-26 13:35:11 +0200 |
commit | c49194c9239c0dcad17b902b6638edf53bb69c6c (patch) | |
tree | ec3c413bb595b561dda78db68dbb6eadb66345f2 | |
parent | 840ea4d00f6f49f984cf8eb2bcb50358c0ea189b (diff) | |
parent | 9be10412e1837aac339a284f2b01cfc112778180 (diff) | |
download | otp-c49194c9239c0dcad17b902b6638edf53bb69c6c.tar.gz otp-c49194c9239c0dcad17b902b6638edf53bb69c6c.tar.bz2 otp-c49194c9239c0dcad17b902b6638edf53bb69c6c.zip |
Merge branch 'maint'
* maint:
Don't let inline_list_funcs degrade optimizations
-rw-r--r-- | lib/compiler/src/sys_core_fold.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/sys_core_fold.erl b/lib/compiler/src/sys_core_fold.erl index 006bb56bf4..feb34b364f 100644 --- a/lib/compiler/src/sys_core_fold.erl +++ b/lib/compiler/src/sys_core_fold.erl @@ -746,7 +746,7 @@ call(#c_call{args=As}=Call, #c_literal{val=M}=M0, #c_literal{val=N}=N0, Sub) -> false -> case sys_core_fold_lists:call(Call, M, N, As) of none -> - call_1(Call, M, N, As, Sub); + call_1(Call, M0, N0, As, Sub); Core -> expr(Core, Sub) end |