aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_ssa.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-06-26 10:15:49 +0200
committerBjörn Gustavsson <[email protected]>2019-06-26 10:15:49 +0200
commit8cefbe6796d52299be25029215686ed55a75026b (patch)
tree82ae8ccaf01f8ed9c5e7edba3ff360e3237e42dc /lib/compiler/src/beam_ssa.erl
parent14944c65bada76cf246f885f7a146c7fd54cb3df (diff)
parenta92672118b5b80fc7f6d902bf064c6efae2754dc (diff)
downloadotp-8cefbe6796d52299be25029215686ed55a75026b.tar.gz
otp-8cefbe6796d52299be25029215686ed55a75026b.tar.bz2
otp-8cefbe6796d52299be25029215686ed55a75026b.zip
Merge branch 'maint'
* maint: Eliminate dialyzer warnings
Diffstat (limited to 'lib/compiler/src/beam_ssa.erl')
-rw-r--r--lib/compiler/src/beam_ssa.erl9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/compiler/src/beam_ssa.erl b/lib/compiler/src/beam_ssa.erl
index 831e6489a9..25e6bfb009 100644
--- a/lib/compiler/src/beam_ssa.erl
+++ b/lib/compiler/src/beam_ssa.erl
@@ -96,7 +96,8 @@
%% To avoid the collapsing, change the value of SET_LIMIT to 50 in the
%% file erl_types.erl in the hipe application.
--type prim_op() :: 'bs_add' | 'bs_extract' | 'bs_init' | 'bs_init_writable' |
+-type prim_op() :: 'bs_add' | 'bs_extract' | 'bs_get_tail' |
+ 'bs_init' | 'bs_init_writable' |
'bs_match' | 'bs_put' | 'bs_start_match' | 'bs_test_tail' |
'bs_utf16_size' | 'bs_utf8_size' | 'build_stacktrace' |
'call' | 'catch_end' |
@@ -117,8 +118,10 @@
'+' | '-' | '*' | '/'.
%% Primops only used internally during code generation.
--type cg_prim_op() :: 'bs_get' | 'bs_match_string' | 'bs_restore' | 'bs_skip' |
- 'copy' | 'match_fail' | 'put_tuple_arity' | 'put_tuple_element' |
+-type cg_prim_op() :: 'bs_get' | 'bs_get_position' | 'bs_match_string' |
+ 'bs_restore' | 'bs_save' | 'bs_set_position' | 'bs_skip' |
+ 'copy' | 'match_fail' | 'put_tuple_arity' |
+ 'put_tuple_element' | 'put_tuple_elements' |
'set_tuple_element'.
-import(lists, [foldl/3,keyfind/3,mapfoldl/3,member/2,reverse/1]).