aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-12-07 21:23:10 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-12-07 21:23:10 +0000
commit54e4aedb7edbbb9daac9a5e3ece26183393550e2 (patch)
treef326960d7493b5dc8cb7ddf3232ed6a0d9281070 /gcc/expr.c
parentb180d5fb7baab9d8a4b1002948c88b0896118bb6 (diff)
downloadgcc-54e4aedb7edbbb9daac9a5e3ece26183393550e2.zip
gcc-54e4aedb7edbbb9daac9a5e3ece26183393550e2.tar.gz
gcc-54e4aedb7edbbb9daac9a5e3ece26183393550e2.tar.bz2
c-common.c, [...]: Replace uses of first_rtl_op with TREE_CODE_LENGTH.
gcc/ * c-common.c, expr.c, fold-const.c, print-tree.c, tree-gimple.c, tree-inline.c, tree-pretty-print.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c: Replace uses of first_rtl_op with TREE_CODE_LENGTH. * tree.c (first_rtl_op): Remove. Replace uses of first_rtl_op with TREE_CODE_LENGTH. * tree.h: Remove the prototype for first_rtl_op. gcc/cp/ * pt.c: Replace a use of first_rtl_op with TREE_CODE_LENGTH. From-SVN: r91818
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 44b3c4a..d594671 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -5944,7 +5944,7 @@ safe_from_p (rtx x, tree exp, int top_p)
if (exp_rtl)
break;
- nops = first_rtl_op (TREE_CODE (exp));
+ nops = TREE_CODE_LENGTH (TREE_CODE (exp));
for (i = 0; i < nops; i++)
if (TREE_OPERAND (exp, i) != 0
&& ! safe_from_p (x, TREE_OPERAND (exp, i), 0))