Commit c6c6b7aa by Aldy Hernandez Committed by Aldy Hernandez

tree-flow.h: Remove prototype for computed_goto_p.

        * tree-flow.h: Remove prototype for computed_goto_p.
        * tree-cfg.c (computed_goto_p): Make static.

From-SVN: r135009
parent 42473633
2008-05-06 Aldy Hernandez <aldyh@redhat.com>
* tree-flow.h: Remove prototype for computed_goto_p.
* tree-cfg.c (computed_goto_p): Make static.
2008-05-06 H.J. Lu <hongjiu.lu@intel.com> 2008-05-06 H.J. Lu <hongjiu.lu@intel.com>
PR target/35657 PR target/35657
......
...@@ -102,6 +102,7 @@ static int tree_verify_flow_info (void); ...@@ -102,6 +102,7 @@ static int tree_verify_flow_info (void);
static void tree_make_forwarder_block (edge); static void tree_make_forwarder_block (edge);
static void tree_cfg2vcg (FILE *); static void tree_cfg2vcg (FILE *);
static inline void change_bb_for_stmt (tree t, basic_block bb); static inline void change_bb_for_stmt (tree t, basic_block bb);
static bool computed_goto_p (const_tree);
/* Flowgraph optimization and cleanup. */ /* Flowgraph optimization and cleanup. */
static void tree_merge_blocks (basic_block, basic_block); static void tree_merge_blocks (basic_block, basic_block);
...@@ -2514,7 +2515,7 @@ is_ctrl_altering_stmt (const_tree t) ...@@ -2514,7 +2515,7 @@ is_ctrl_altering_stmt (const_tree t)
/* Return true if T is a computed goto. */ /* Return true if T is a computed goto. */
bool static bool
computed_goto_p (const_tree t) computed_goto_p (const_tree t)
{ {
return (TREE_CODE (t) == GOTO_EXPR return (TREE_CODE (t) == GOTO_EXPR
......
...@@ -731,7 +731,6 @@ extern void delete_tree_cfg_annotations (void); ...@@ -731,7 +731,6 @@ extern void delete_tree_cfg_annotations (void);
extern bool stmt_ends_bb_p (const_tree); extern bool stmt_ends_bb_p (const_tree);
extern bool is_ctrl_stmt (const_tree); extern bool is_ctrl_stmt (const_tree);
extern bool is_ctrl_altering_stmt (const_tree); extern bool is_ctrl_altering_stmt (const_tree);
extern bool computed_goto_p (const_tree);
extern bool simple_goto_p (const_tree); extern bool simple_goto_p (const_tree);
extern bool tree_can_make_abnormal_goto (const_tree); extern bool tree_can_make_abnormal_goto (const_tree);
extern basic_block single_noncomplex_succ (basic_block bb); extern basic_block single_noncomplex_succ (basic_block bb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment