diff options
author | Björn Gustavsson <[email protected]> | 2015-03-06 09:49:06 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-03-09 09:41:19 +0100 |
commit | b99eeee59ae95548e935bcbc512f6488baa0c6ba (patch) | |
tree | 29cc90294d74ee732e2aa9f9a736d968f495df0f /lib/compiler/src/compile.erl | |
parent | c5e808c27beeef8cfc5eaa4ab37aeaaaef3db849 (diff) | |
download | otp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.tar.gz otp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.tar.bz2 otp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.zip |
v3_core: Eliminate the sloppiness-encouraging get_ianno/1 function
get_ianno/1 would retrieve either a bare annotation or an
annotation wrapped in an #a{} record. In both cases, it would
return a wrapped annotation.
We can replace the calls to get_ianno/1 with calls to get_anno/1,
because the argument is always an #iclause{} and all iclause records
are always initialized with a wrapped annotation.
Diffstat (limited to 'lib/compiler/src/compile.erl')
0 files changed, 0 insertions, 0 deletions