tree-ssa-dse (max_stmt_uid): Removed.
authorKenneth Zadeck <zadeck@naturalbridge.com>
Fri, 16 May 2008 13:38:13 +0000 (09:38 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 16 May 2008 13:38:13 +0000 (09:38 -0400)
commit908ff6a3eba98c61f299483ba60011f7bec26e34
treec4014ffdd31e6929c2b0896e695bc7a7780f9040
parent9defb1fe37d0ff78a3a8f4729e4f51a957ec902e
tree-ssa-dse (max_stmt_uid): Removed.

2008-05-16  Kenneth Zadeck <zadeck@naturalbridge.com>

* tree-ssa-dse (max_stmt_uid): Removed.
(get_stmt_uid, dse_possible_dead_store_p, dse_optimize_stmt,
tree_ssa_dse): Encapsulate all uses of stmt_ann->uid.
* tree-ssa-sccvn.c (compare_ops, init_scc_vn): Ditto.
* function.h (cfun.last_stmt_uid): New field.
* tree-flow-inline.h (set_gimple_stmt_uid, gimple_stmt_uid,
gimple_stmt_max_uid, set_gimple_stmt_max_uid,
inc_gimple_stmt_max_uid): New functions.
* tree-dfa.c (renumber_gimple_stmt_uids): New function.
(create_stmt_ann): Initialize the ann->uid field.
* tree-ssa-pre.c (compute_avail): Encapsulate the stmt_ann->uid
with new calls.
* tree-flow.h (renumber_gimple_stmt_uids): New function.

From-SVN: r135419
gcc/ChangeLog
gcc/function.h
gcc/tree-dfa.c
gcc/tree-flow-inline.h
gcc/tree-flow.h
gcc/tree-ssa-dse.c
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c