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

« back to all changes in this revision

Viewing changes to lib/hipe/icode/hipe_icode_instruction_counter.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:
22
22
%% A general CFG instruction walktrough
23
23
%%-------------------------------------------------------------------
24
24
 
25
 
-spec(cfg/3 :: (#cfg{}, mfa(), comp_options()) -> [_]).
 
25
-spec cfg(#cfg{}, mfa(), comp_options()) -> [_].
26
26
 
27
27
cfg(Cfg, _IcodeFun, _Options) ->
28
28
  Labels = hipe_icode_cfg:labels(Cfg),
46
46
%% The counter specific functions
47
47
%%-------------------------------------------------------------------
48
48
 
49
 
-spec(compare/3 :: (gb_tree(), gb_tree(), gb_tree()) -> gb_tree()).
 
49
-spec compare(gb_tree(), gb_tree(), gb_tree()) -> gb_tree().
50
50
 
51
51
compare(Name, Old, New) ->
52
52
  NewList = gb_trees:to_list(New),