aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_ssa_opt.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-05-09 11:46:56 +0200
committerJohn Högberg <[email protected]>2019-06-17 13:20:10 +0200
commiteebaf9e0c0f515e51f258014f47d7e262880fb91 (patch)
treeada54f5865d97e04969ff10f44d93ca5fdae6380 /lib/compiler/src/beam_ssa_opt.erl
parent5bfa7146c04f3c7b7492cb7660db425d7d34c5a6 (diff)
downloadotp-eebaf9e0c0f515e51f258014f47d7e262880fb91.tar.gz
otp-eebaf9e0c0f515e51f258014f47d7e262880fb91.tar.bz2
otp-eebaf9e0c0f515e51f258014f47d7e262880fb91.zip
compiler: Propagate types of free variables
Diffstat (limited to 'lib/compiler/src/beam_ssa_opt.erl')
-rw-r--r--lib/compiler/src/beam_ssa_opt.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_ssa_opt.erl b/lib/compiler/src/beam_ssa_opt.erl
index 0c8cefe74d..32b64b393f 100644
--- a/lib/compiler/src/beam_ssa_opt.erl
+++ b/lib/compiler/src/beam_ssa_opt.erl
@@ -145,7 +145,8 @@ prologue_passes(Opts) ->
?PASS(ssa_opt_linearize),
?PASS(ssa_opt_tuple_size),
?PASS(ssa_opt_record),
- ?PASS(ssa_opt_cse), %Helps the first type pass.
+ ?PASS(ssa_opt_cse), % Helps the first type pass.
+ ?PASS(ssa_opt_live), % ...
?PASS(ssa_opt_type_start)],
passes_1(Ps, Opts).