~ubuntu-branches/ubuntu/karmic/erlang/karmic-security

« back to all changes in this revision

Viewing changes to lib/hipe/icode/hipe_icode_ssa_struct_reuse.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
  Node#node{varmap = Vars}.
294
294
 
295
295
node_varmap_lookup(#node{varmap = Varmap}, Var) ->
296
 
  case lists:keysearch(Var, 1, Varmap) of
297
 
    {value, {_, NewVar}} -> NewVar;
 
296
  case lists:keyfind(Var, 1, Varmap) of
 
297
    {_, NewVar} -> NewVar;
298
298
    false -> Var
299
299
  end.
300
300