aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/flow
diff options
context:
space:
mode:
authorAndrew Dryga <[email protected]>2017-02-14 11:32:24 +0200
committerAndrew Dryga <[email protected]>2017-02-14 11:32:52 +0200
commit5d373def7b8069eda8b6d1d2babd713933c6f472 (patch)
tree3d5103b2da56eab7b14a33504eb2c3785ee5d9a9 /lib/hipe/flow
parentf0bdb1a53ae84845a1ebdb72544e1f4a5719428b (diff)
downloadotp-5d373def7b8069eda8b6d1d2babd713933c6f472.tar.gz
otp-5d373def7b8069eda8b6d1d2babd713933c6f472.tar.bz2
otp-5d373def7b8069eda8b6d1d2babd713933c6f472.zip
Fixed typos in lib/hipe
Diffstat (limited to 'lib/hipe/flow')
-rw-r--r--lib/hipe/flow/cfg.inc2
-rw-r--r--lib/hipe/flow/hipe_dominators.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/flow/cfg.inc b/lib/hipe/flow/cfg.inc
index 362c5b697c..17342d3b60 100644
--- a/lib/hipe/flow/cfg.inc
+++ b/lib/hipe/flow/cfg.inc
@@ -212,7 +212,7 @@ info_update(CFG, I) ->
-ifndef(GEN_CFG).
-spec other_entrypoints(cfg()) -> [cfg_lbl()].
-%% @doc Returns a list of labels that are refered to from the data section.
+%% @doc Returns a list of labels that are referred to from the data section.
other_entrypoints(CFG) ->
hipe_consttab:referred_labels(data(CFG)).
diff --git a/lib/hipe/flow/hipe_dominators.erl b/lib/hipe/flow/hipe_dominators.erl
index 570452c14e..749edd4f72 100644
--- a/lib/hipe/flow/hipe_dominators.erl
+++ b/lib/hipe/flow/hipe_dominators.erl
@@ -317,7 +317,7 @@ updateCell(Value, Field, WD) ->
%%>----------------------------------------------------------------------<
%% Procedure : dfs/1
%% Purpose : The main purpose of this function is to traverse the CFG in
-%% a depth first order. It is aslo used to initialize certain
+%% a depth first order. It is also used to initialize certain
%% elements defined in a workDataCell.
%% Arguments : CFG - a Control Flow Graph representation
%% Returns : A table (WorkData) and the total number of elements in