diff options
author | Björn Gustavsson <[email protected]> | 2018-06-04 07:19:44 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-06-04 10:34:50 +0200 |
commit | 7f3a501cada228c2fedbe34d0d30080e98560665 (patch) | |
tree | d663375243337acf85ab1a959978c763a1ccb0e3 | |
parent | c08d7b0e61f3763726c0d6564d57fab195026b0b (diff) | |
download | otp-7f3a501cada228c2fedbe34d0d30080e98560665.tar.gz otp-7f3a501cada228c2fedbe34d0d30080e98560665.tar.bz2 otp-7f3a501cada228c2fedbe34d0d30080e98560665.zip |
sys_core_inline: Avoid spurious warnings
Add more `compiler_generated` attributes to avoid spurious compiler
warnings triggered by the bug fix in the next commit.
-rw-r--r-- | lib/compiler/src/sys_core_inline.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/sys_core_inline.erl b/lib/compiler/src/sys_core_inline.erl index 8c1f69d5de..eee3594922 100644 --- a/lib/compiler/src/sys_core_inline.erl +++ b/lib/compiler/src/sys_core_inline.erl @@ -143,7 +143,7 @@ inline_inline(#ifun{body=B,weight=Iw}=If, Is) -> case find_inl(F, A, Is) of #ifun{vars=Vs,body=B2,weight=W} when W < Iw -> #c_let{vars=Vs, - arg=core_lib:make_values(As), + arg=kill_id_anns(core_lib:make_values(As)), body=kill_id_anns(B2)}; _Other -> Call end; @@ -160,7 +160,7 @@ inline_func(#fstat{def={Name,F0}}=Fstat, Is) -> case find_inl(F, A, Is) of #ifun{vars=Vs,body=B} -> {#c_let{vars=Vs, - arg=core_lib:make_values(As), + arg=kill_id_anns(core_lib:make_values(As)), body=kill_id_anns(B)}, true}; %Have modified _Other -> {Call,Mod} |