]> gcc.gnu.org Git - gcc.git/commit - gcc/tree-flow-inline.h
tree-flow-inline.h (get_subvar_at): Use binary search.
authorRichard Guenther <rguenther@suse.de>
Mon, 29 Oct 2007 18:27:38 +0000 (18:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Oct 2007 18:27:38 +0000 (18:27 +0000)
commit8ad6aff3037a4896ab9b488365f509cd2532b209
treec1b0567e0bc3a2faf2e843ff14afa359047427ee
parentbcf49b9e570cb574f49c67f0e102bf8f1a6e92f4
tree-flow-inline.h (get_subvar_at): Use binary search.

2007-10-29  Richard Guenther  <rguenther@suse.de>

* tree-flow-inline.h (get_subvar_at): Use binary search.
(get_first_overlapping_subvar): New function to binary search
for the first overlapping subvar.
* tree-ssa-operands.c (add_vars_for_offset): Strip down to
just handle adding subvars for a pointed-to subvar.  Optimize
and use get_first_overlapping_subvar.
(add_vars_for_bitmap): Fold into single caller.
(add_virtual_operand): Streamline, inherit add_vars_for_bitmap
and non pointed-to bits of add_vars_for_offset.

From-SVN: r129727
gcc/ChangeLog
gcc/tree-flow-inline.h
gcc/tree-ssa-operands.c
This page took 0.056338 seconds and 5 git commands to generate.