diff options
author | Björn Gustavsson <[email protected]> | 2018-11-28 11:53:43 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-11-28 11:53:43 +0100 |
commit | 489b5eddf4b9b432e4e854bad603bb7d1d5678dc (patch) | |
tree | 325f9d30635d34257bd8e7d199e381705da549fe /lib/compiler/test/misc_SUITE.erl | |
parent | da90cf437e07f0f21b15e0d0ea8ff38cbc0bb1ea (diff) | |
parent | 96ac99d3e9b12295b7e8a70888fd1134a78e63a8 (diff) | |
download | otp-489b5eddf4b9b432e4e854bad603bb7d1d5678dc.tar.gz otp-489b5eddf4b9b432e4e854bad603bb7d1d5678dc.tar.bz2 otp-489b5eddf4b9b432e4e854bad603bb7d1d5678dc.zip |
Merge pull request #2033 from bjorng/bjorn/compiler/sharing
Add a code sharing optimization pass
Diffstat (limited to 'lib/compiler/test/misc_SUITE.erl')
-rw-r--r-- | lib/compiler/test/misc_SUITE.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/test/misc_SUITE.erl b/lib/compiler/test/misc_SUITE.erl index d6fc51448f..2a6303ece8 100644 --- a/lib/compiler/test/misc_SUITE.erl +++ b/lib/compiler/test/misc_SUITE.erl @@ -183,6 +183,7 @@ silly_coverage(Config) when is_list(Config) -> %% beam_ssa_lint %% beam_ssa_recv + %% beam_ssa_share %% beam_ssa_pre_codegen %% beam_ssa_opt %% beam_ssa_codegen @@ -190,6 +191,7 @@ silly_coverage(Config) when is_list(Config) -> [{b_function,#{func_info=>{mod,foo,0}},args,bad_blocks,0}]}, expect_error(fun() -> beam_ssa_lint:module(BadSSA, []) end), expect_error(fun() -> beam_ssa_recv:module(BadSSA, []) end), + expect_error(fun() -> beam_ssa_share:module(BadSSA, []) end), expect_error(fun() -> beam_ssa_pre_codegen:module(BadSSA, []) end), expect_error(fun() -> beam_ssa_opt:module(BadSSA, []) end), expect_error(fun() -> beam_ssa_codegen:module(BadSSA, []) end), @@ -258,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), |