diff options
author | Björn Gustavsson <[email protected]> | 2016-10-26 13:17:19 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-10-26 13:17:19 +0200 |
commit | 9be10412e1837aac339a284f2b01cfc112778180 (patch) | |
tree | a1ba89125b7064690c9b2f3f8352d2efc657915d | |
parent | 1a3fe8aa6d839ec6a79a0da0395b69f73b955ae9 (diff) | |
parent | 8052922d105d236c6cf071333107181fc82c191d (diff) | |
download | otp-9be10412e1837aac339a284f2b01cfc112778180.tar.gz otp-9be10412e1837aac339a284f2b01cfc112778180.tar.bz2 otp-9be10412e1837aac339a284f2b01cfc112778180.zip |
Merge branch 'bjorn/compiler/inline_list_funcs/ERL-285/OTP-13985' into maint
* bjorn/compiler/inline_list_funcs/ERL-285/OTP-13985:
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 08b02101a6..5e1602cb5b 100644 --- a/lib/compiler/src/sys_core_fold.erl +++ b/lib/compiler/src/sys_core_fold.erl @@ -734,7 +734,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 |