This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Move phi node function declarations.
- From: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 18 Nov 2005 11:48:37 -0500
- Subject: [committed] Move phi node function declarations.
Hi,
I noticed that the phi node functions are no longer in tree-dfa.c as the
comment in tree-flow.h says. So I moved then to a section under
tree-phinodes.c in tree-flow.h. I committed this as obvious after a bootstrap
on ppc-linux.
--
Thanks,
Jim
http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim
Index: ChangeLog
===================================================================
--- ChangeLog (revision 107184)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2005-11-18 James A. Morrison <phython@gcc.gnu.org>
+
+ * tree-flow.h (reserve_phi_args_for_new_edge, create_phi_node,
+ add_phi_arg, remove_phi_args, remove_phi_node phi_reverse): Mention that
+ these functions are now in tree-phinodes.c.
+
2005-11-18 Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.md (trap): New pattern.
Index: tree-flow.h
===================================================================
--- tree-flow.h (revision 107184)
+++ tree-flow.h (working copy)
@@ -571,12 +571,6 @@
extern var_ann_t create_var_ann (tree);
extern stmt_ann_t create_stmt_ann (tree);
extern tree_ann_t create_tree_ann (tree);
-extern void reserve_phi_args_for_new_edge (basic_block);
-extern tree create_phi_node (tree, basic_block);
-extern void add_phi_arg (tree, tree, edge);
-extern void remove_phi_args (edge);
-extern void remove_phi_node (tree, tree);
-extern tree phi_reverse (tree);
extern void dump_dfa_stats (FILE *);
extern void debug_dfa_stats (void);
extern void debug_referenced_vars (void);
@@ -592,6 +586,14 @@
extern tree make_rename_temp (tree, const char *);
+/* In tree-phinodes.c */
+extern void reserve_phi_args_for_new_edge (basic_block);
+extern tree create_phi_node (tree, basic_block);
+extern void add_phi_arg (tree, tree, edge);
+extern void remove_phi_args (edge);
+extern void remove_phi_node (tree, tree);
+extern tree phi_reverse (tree);
+
/* In gimple-low.c */
extern void record_vars (tree);
extern bool block_may_fallthru (tree block);