~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/hipe/opt/hipe_spillmin_color.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
%%---------------------------------------------------------------------------
35
35
 
36
 
-type(dict()    :: tuple()).  % XXX: Temporarily
37
 
-type(gb_tree() :: tuple()).  % XXX: Temporarily
 
36
-type dict()    :: tuple().  % XXX: Temporarily
 
37
-type gb_tree() :: tuple().  % XXX: Temporarily
38
38
 
39
39
%%---------------------------------------------------------------------------
40
40
 
51
51
%%  where Location is {spill,M}.
52
52
%% {spill,M} denotes the Mth spilled node
53
53
 
54
 
-spec(stackalloc/6 ::
55
 
      (#cfg{}, [_], non_neg_integer(), comp_options(),
56
 
       atom(), hipe_temp_map()) -> {hipe_spill_map(), non_neg_integer()}).
 
54
-spec stackalloc(#cfg{}, [_], non_neg_integer(),
 
55
                 comp_options(), atom(), hipe_temp_map()) ->
 
56
                                {hipe_spill_map(), non_neg_integer()}.
57
57
 
58
58
stackalloc(CFG, _StackSlots, SpillIndex, _Options, Target, TempMap) ->
59
59
  ?report2("building IG~n", []),