aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/misc_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-11-04 11:39:20 +0100
committerBjörn Gustavsson <[email protected]>2018-11-28 11:36:54 +0100
commitc6f5c65cae48bf08d08a79d790717eabc0884678 (patch)
tree79ec5d5b1ee2bfc00572086faa0b4e66ad0fb605 /lib/compiler/test/misc_SUITE.erl
parent555b633acadc39b4b38d920fd678d7a2cc7407e6 (diff)
downloadotp-c6f5c65cae48bf08d08a79d790717eabc0884678.tar.gz
otp-c6f5c65cae48bf08d08a79d790717eabc0884678.tar.bz2
otp-c6f5c65cae48bf08d08a79d790717eabc0884678.zip
Cover some code in beam_peep
Some lines in beam_peep were no longer covered when the sharing optimization was added to beam_ssa_opt. Also remove some code from beam_peep that no longer seems possible to cover.
Diffstat (limited to 'lib/compiler/test/misc_SUITE.erl')
-rw-r--r--lib/compiler/test/misc_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/misc_SUITE.erl b/lib/compiler/test/misc_SUITE.erl
index bc034dcc29..2a6303ece8 100644
--- a/lib/compiler/test/misc_SUITE.erl
+++ b/lib/compiler/test/misc_SUITE.erl
@@ -260,7 +260,7 @@ silly_coverage(Config) when is_list(Config) ->
[{function,foo,0,2,
[{label,1},
{func_info,{atom,?MODULE},{atom,foo},0},
- {label,2},{select,op,r,{f,2},[{f,2}]}]}],
+ {label,2},{select,select_val,r,{f,2},[{f,2}]}]}],
2},
expect_error(fun() -> beam_peep:module(PeepInput, []) end),