diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-09-18 03:25:06 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-09-18 03:25:06 +0000 |
commit | 0e01499666a5032861459cd9fd07bdb8df149637 (patch) | |
tree | ec582d552dcb92bb22aaf8ec7640fc36fa032539 /gcc/tree-cfg.c | |
parent | e49e06d8d0dc95ae92d4601c4731d218459e5dfd (diff) | |
download | gcc-0e01499666a5032861459cd9fd07bdb8df149637.zip gcc-0e01499666a5032861459cd9fd07bdb8df149637.tar.gz gcc-0e01499666a5032861459cd9fd07bdb8df149637.tar.bz2 |
tree-cfg.c (is_ctrl_altering_stmt, [...]): Don't use const_get_call_expr_in.
* tree-cfg.c (is_ctrl_altering_stmt, tree_block_ends_with_call_p):
Don't use const_get_call_expr_in.
* tree-gimple.c (const_get_call_expr_in): Delete.
* tree-gimple.h (const_get_call_expr_in): Likewise.
From-SVN: r128569
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 3de20cc..fd981f3 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -2459,7 +2459,7 @@ is_ctrl_altering_stmt (const_tree t) const_tree call; gcc_assert (t); - call = const_get_call_expr_in (t); + call = get_call_expr_in (CONST_CAST_TREE (t)); if (call) { /* A non-pure/const CALL_EXPR alters flow control if the current @@ -6244,7 +6244,7 @@ static bool tree_block_ends_with_call_p (basic_block bb) { block_stmt_iterator bsi = bsi_last (bb); - return const_get_call_expr_in (bsi_stmt (bsi)) != NULL; + return get_call_expr_in (bsi_stmt (bsi)) != NULL; } |