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/fold-const.c | |
parent | b180d5fb7baab9d8a4b1002948c88b0896118bb6 (diff) | |
download | gcc-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/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 8ddb039..878cbd9 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -3550,7 +3550,7 @@ make_range (tree exp, int *pin_p, tree *plow, tree *phigh) if (IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (code))) { - if (first_rtl_op (code) > 0) + if (TREE_CODE_LENGTH (code) > 0) arg0 = TREE_OPERAND (exp, 0); if (TREE_CODE_CLASS (code) == tcc_comparison || TREE_CODE_CLASS (code) == tcc_unary @@ -6277,7 +6277,7 @@ fold (tree expr) } else if (IS_EXPR_CODE_CLASS (kind)) { - int len = first_rtl_op (code); + int len = TREE_CODE_LENGTH (code); int i; for (i = 0; i < len; i++) { @@ -9418,7 +9418,7 @@ fold_checksum_tree (tree expr, struct md5_ctx *ctx, htab_t ht) case tcc_unary: case tcc_binary: case tcc_statement: - len = first_rtl_op (code); + len = TREE_CODE_LENGTH (code); for (i = 0; i < len; ++i) fold_checksum_tree (TREE_OPERAND (expr, i), ctx, ht); break; |