gcc/gcc ChangeLog.tree-ssa Makefile.in domwalk ...
law@gcc.gnu.org
law@gcc.gnu.org
Sat Nov 22 04:13:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: law@gcc.gnu.org 2003-11-22 04:13:50
Modified files:
gcc : ChangeLog.tree-ssa Makefile.in domwalk.c
domwalk.h tree-ssa-dom.c tree-ssa.c
Log message:
* Makefile.in (domwalk.o): Depend on $(GGC_H).
* domwalk.c: Include ggc.h.
(walk_dominator_tree): Manage allocation/deallocation and
pushing/popping of the toplevel block data pointer here.
Use callback to initialize the block local data.
(init_walk_dominator_tree): New function.
(fini_walk_dominator_tree): Likewise.
* domwalk.h (struct dom_walk_data): Add callback to initialize
block local data. Add field for sizeof block local data.
Add "private" field free_block_data.
(init_dominator_tree, fini_dominator_tree): Prototype.
* tree-ssa-dom.c (dom_opt_initialize_local_data): New function.
(tree_ssa_dominator_optimize_1): Initialize new fields in the
dominator walker structure. Initialize and finalize the dominator
walker. Slightly reorder code to make it more readable..
(dom_opt_initialize_block): No longer deal with allocation and
initialization of block local data.
(dom_opt_finalize_block): Similarly for deallocation of block
local data.
* tree-ssa.c (rewrite_block_data): New structure.
(rewrite_initialize_block_local_data): New function.
(rewrite_initialize_block): No longer deal with allocation and
initialization of block local data.
(rewrite_into_ssa): Initialize new fields in the dominator walker
structure. Initialize and finalize the dominator walker.
(rewrite_initialize_block): No longer deal with allocation and
initialization of block local data.
(rewrite_optimize_stmts): Deal with changes in the dominator
walker structure.
(rewrite_finalize_block): No longer with deallocation of block
local data.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.911&r2=1.1.2.912
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.903.2.138&r2=1.903.2.139
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/domwalk.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.3&r2=1.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/domwalk.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.85&r2=1.1.2.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.159&r2=1.1.4.160
More information about the Gcc-cvs
mailing list