aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main/hipe_main.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-05-27 15:51:01 +0200
committerSverker Eriksson <[email protected]>2016-05-31 12:19:59 +0200
commit4ae10746a3d2dd2904d0da5b54700b9a152806ed (patch)
treedc5f84c83efe49f559efbc8ecd216f68b3bdea9c /lib/hipe/main/hipe_main.erl
parentcbb325bd193fd407c4495e95419512312febcc1c (diff)
downloadotp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.tar.gz
otp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.tar.bz2
otp-4ae10746a3d2dd2904d0da5b54700b9a152806ed.zip
Cleanups in hipe/main and hipe/rtl
* Rewrite matching statements in ?when_option macro to form that silences dialyzer's unmatched_return warnings * Treat compiler warnings as errors when compiling files in main
Diffstat (limited to 'lib/hipe/main/hipe_main.erl')
-rw-r--r--lib/hipe/main/hipe_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/main/hipe_main.erl b/lib/hipe/main/hipe_main.erl
index b9d783d20a..4b89feb48a 100644
--- a/lib/hipe/main/hipe_main.erl
+++ b/lib/hipe/main/hipe_main.erl
@@ -296,7 +296,7 @@ icode_ssa_convert(IcodeCfg, Options) ->
icode_ssa_const_prop(IcodeSSA, Options) ->
case proplists:get_bool(icode_ssa_const_prop, Options) of
true ->
- ?option_time(Tmp=hipe_icode_ssa_const_prop:propagate(IcodeSSA),
+ Tmp = ?option_time(hipe_icode_ssa_const_prop:propagate(IcodeSSA),
"Icode SSA sparse conditional constant propagation", Options),
?option_time(hipe_icode_ssa:remove_dead_code(Tmp),
"Icode SSA dead code elimination pass 1", Options);