From 1e6a5d3c8fb33a8add8950191d4bf8c35decd43f Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 17 Apr 2005 06:42:03 +0000 Subject: 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 --- gcc/tree-flow-inline.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'gcc/tree-flow-inline.h') 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) -- cgit v1.2.1