aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/misc_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-21 14:27:30 +0200
committerBjörn Gustavsson <[email protected]>2015-09-28 10:26:39 +0200
commit8372f56a06ef24cf4455a54e15d876ab6ca8c570 (patch)
tree3a9de9ec5648549585423618ed48f3c1b976383c /lib/compiler/test/misc_SUITE.erl
parentf7fd259f27bce0058d996af6287e6bb81d12ea47 (diff)
downloadotp-8372f56a06ef24cf4455a54e15d876ab6ca8c570.tar.gz
otp-8372f56a06ef24cf4455a54e15d876ab6ca8c570.tar.bz2
otp-8372f56a06ef24cf4455a54e15d876ab6ca8c570.zip
Move out bit syntax optimizations from beam_block
In the future we might want to add more bit syntax optimizations, but beam_block is already sufficiently complicated. Therefore, move the bit syntax optimizations out of beam_block into a separate compiler pass called beam_bs.
Diffstat (limited to 'lib/compiler/test/misc_SUITE.erl')
-rw-r--r--lib/compiler/test/misc_SUITE.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compiler/test/misc_SUITE.erl b/lib/compiler/test/misc_SUITE.erl
index 3582e055c8..b88abaf62d 100644
--- a/lib/compiler/test/misc_SUITE.erl
+++ b/lib/compiler/test/misc_SUITE.erl
@@ -208,6 +208,10 @@ silly_coverage(Config) when is_list(Config) ->
{label,2}|non_proper_list]}],99},
?line expect_error(fun() -> beam_block:module(BlockInput, []) end),
+ %% beam_bs
+ BsInput = BlockInput,
+ expect_error(fun() -> beam_bs:module(BsInput, []) end),
+
%% beam_type
TypeInput = {?MODULE,[{foo,0}],[],
[{function,foo,0,2,