diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-12-07 21:23:10 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-12-07 21:23:10 +0000 |
commit | 54e4aedb7edbbb9daac9a5e3ece26183393550e2 (patch) | |
tree | f326960d7493b5dc8cb7ddf3232ed6a0d9281070 /gcc/c-common.c | |
parent | b180d5fb7baab9d8a4b1002948c88b0896118bb6 (diff) | |
download | gcc-54e4aedb7edbbb9daac9a5e3ece26183393550e2.tar.gz |
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/c-common.c')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 62aaa27b16b..627911d4b68 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1365,7 +1365,7 @@ verify_tree (tree x, struct tlist **pbefore_sp, struct tlist **pno_sp, Other non-expressions need not be processed. */ if (cl == tcc_unary) { - if (first_rtl_op (code) == 0) + if (TREE_CODE_LENGTH (code) == 0) return; x = TREE_OPERAND (x, 0); writer = 0; @@ -1374,7 +1374,7 @@ verify_tree (tree x, struct tlist **pbefore_sp, struct tlist **pno_sp, else if (IS_EXPR_CODE_CLASS (cl)) { int lp; - int max = first_rtl_op (TREE_CODE (x)); + int max = TREE_CODE_LENGTH (TREE_CODE (x)); for (lp = 0; lp < max; lp++) { tmp_before = tmp_nosp = 0; |