aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.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/cp/pt.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/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 2a1a5b3..9bf396b 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -12010,7 +12010,7 @@ value_dependent_expression_p (tree expression)
case tcc_expression:
{
int i;
- for (i = 0; i < first_rtl_op (TREE_CODE (expression)); ++i)
+ for (i = 0; i < TREE_CODE_LENGTH (TREE_CODE (expression)); ++i)
/* In some cases, some of the operands may be missing.
(For example, in the case of PREDECREMENT_EXPR, the
amount to increment by may be missing.) That doesn't