diff options
Diffstat (limited to 'lib/hipe/icode/hipe_icode_ssa.erl')
| -rw-r--r-- | lib/hipe/icode/hipe_icode_ssa.erl | 15 | 
1 files changed, 6 insertions, 9 deletions
| diff --git a/lib/hipe/icode/hipe_icode_ssa.erl b/lib/hipe/icode/hipe_icode_ssa.erl index b222fbc7d2..88317e9629 100644 --- a/lib/hipe/icode/hipe_icode_ssa.erl +++ b/lib/hipe/icode/hipe_icode_ssa.erl @@ -1,9 +1,5 @@  %% -*- erlang-indent-level: 2 -*-  %% -%% %CopyrightBegin% -%%  -%% Copyright Ericsson AB 2002-2016. All Rights Reserved. -%%   %% Licensed under the Apache License, Version 2.0 (the "License");  %% you may not use this file except in compliance with the License.  %% You may obtain a copy of the License at @@ -15,8 +11,6 @@  %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  %% See the License for the specific language governing permissions and  %% limitations under the License. -%%  -%% %CopyrightEnd%  %%  %%----------------------------------------------------------------------  %% File    : hipe_icode_ssa.erl @@ -34,13 +28,16 @@  -define(LIVENESS, hipe_icode_liveness).  -define(LIVENESS_NEEDED, true). +-export_type([liveness/0]). +  -include("hipe_icode.hrl").  -include("../ssa/hipe_ssa.inc").  %% Declarations for exported functions which are Icode-specific. --spec ssa_liveness__analyze(#cfg{}) -> gb_trees:tree(). --spec ssa_liveness__livein(_, icode_lbl()) -> [#icode_variable{}]. -%% -spec ssa_liveness__livein(_, icode_lbl(), _) -> [#icode_var{}]. +-opaque liveness() :: liveness(icode_lbl(), #icode_variable{}). +-spec ssa_liveness__analyze(#cfg{}) -> liveness(). +-spec ssa_liveness__livein(liveness(), icode_lbl()) -> [#icode_variable{}]. +%% -spec ssa_liveness__livein(liveness(), icode_lbl(), _) -> [#icode_var{}].  %%----------------------------------------------------------------------  %% Auxiliary operations which seriously differ between Icode and RTL. | 
