summaryrefslogtreecommitdiffstats
path: root/gcc/function.h
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-16 13:38:13 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-16 13:38:13 +0000
commitec415c454f37dbd00b9c58c00bc8a2f47ea44c99 (patch)
treec4014ffdd31e6929c2b0896e695bc7a7780f9040 /gcc/function.h
parentc27baad4400d165080bcd69ea555a2e32785cae6 (diff)
downloadppe42-gcc-ec415c454f37dbd00b9c58c00bc8a2f47ea44c99.tar.gz
ppe42-gcc-ec415c454f37dbd00b9c58c00bc8a2f47ea44c99.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135419 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index fcfd3b65f43..424cdf7054c 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -465,6 +465,9 @@ struct function GTY(())
/* Used types hash table. */
htab_t GTY ((param_is (union tree_node))) used_types_hash;
+ /* Last statement uid. */
+ int last_stmt_uid;
+
/* Line number of the end of the function. */
location_t function_end_locus;
OpenPOWER on IntegriCloud