aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-06-04 07:19:44 +0200
committerBjörn Gustavsson <[email protected]>2018-06-04 10:34:50 +0200
commit7f3a501cada228c2fedbe34d0d30080e98560665 (patch)
treed663375243337acf85ab1a959978c763a1ccb0e3 /lib/compiler/src
parentc08d7b0e61f3763726c0d6564d57fab195026b0b (diff)
downloadotp-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.
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/sys_core_inline.erl4
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}