~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/hipe/ssa/hipe_ssa_copy_prop.inc

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%% -*- Erlang -*-
2
2
%%% -*- erlang-indent-level: 2 -*-
 
3
%%%
 
4
%%% %CopyrightBegin%
 
5
%%% 
 
6
%%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
 
7
%%% 
 
8
%%% The contents of this file are subject to the Erlang Public License,
 
9
%%% Version 1.1, (the "License"); you may not use this file except in
 
10
%%% compliance with the License. You should have received a copy of the
 
11
%%% Erlang Public License along with this software. If not, it can be
 
12
%%% retrieved online at http://www.erlang.org/.
 
13
%%% 
 
14
%%% Software distributed under the License is distributed on an "AS IS"
 
15
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
16
%%% the License for the specific language governing rights and limitations
 
17
%%% under the License.
 
18
%%% 
 
19
%%% %CopyrightEnd%
 
20
%%%
3
21
%%%-------------------------------------------------------------------
4
22
%%% File        : hipe_ssa_copy_prop.inc
5
23
%%% Author      : Tobias Lindahl <tobiasl@it.uu.se>
39
57
 
40
58
cfg(Cfg) ->
41
59
  Labels = ?cfg:reverse_postorder(Cfg),
42
 
  {Info,PhiDep} = analyse(Labels, Cfg, gb_trees:empty(), gb_sets:empty()),
 
60
  {Info,PhiDep} = analyse(Labels, Cfg, gb_trees:empty(), gb_trees:empty()),
43
61
  rewrite(Labels, Cfg, Info, PhiDep).
44
62
 
45
63
analyse([Label|Left], Cfg, Info, PhiDep) ->