diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-17 06:42:03 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-17 06:42:03 +0000 |
commit | 1e6a5d3c8fb33a8add8950191d4bf8c35decd43f (patch) | |
tree | ef804854e7d9e15b6b91599f5e2f31a6de445f81 /gcc/tree-flow-inline.h | |
parent | 911204fec298ee649cc092030638145d107f542f (diff) | |
download | gcc-1e6a5d3c8fb33a8add8950191d4bf8c35decd43f.tar.gz |
tree-flow-inline.h (get_stmt_operands): Remove.
* tree-flow-inline.h (get_stmt_operands): Remove.
* lambda-code.c, tree-ssa-loop-unswitch.c,
tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa-propagate.c,
tree-ssa-sink.c, tree-ssa.c, tree-tailcall.c,
tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c): Remove
calls to get_stmt_operands.
* doc/tree-ssa.texi: Don't mention get_stmt_operands.
From-SVN: r98262
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 993c1ded320..f41448bc0e9 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -172,27 +172,6 @@ update_stmt_if_modified (tree t) update_stmt_operands (t); } -static inline void -get_stmt_operands (tree stmt ATTRIBUTE_UNUSED) -{ -#ifdef ENABLE_CHECKING - stmt_ann_t ann; - - /* The optimizers cannot handle statements that are nothing but a - _DECL. This indicates a bug in the gimplifier. */ - gcc_assert (!SSA_VAR_P (stmt)); - - /* Ignore error statements. */ - if (TREE_CODE (stmt) == ERROR_MARK) - return; - - ann = get_stmt_ann (stmt); - gcc_assert (!ann->modified); - - return; -#endif -} - /* Return true if T is marked as modified, false otherwise. */ static inline bool stmt_modified_p (tree t) |