diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-01 13:55:11 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-01 13:55:11 +0000 |
commit | a7818b660d503da6f2f93871bc6a5695b687434b (patch) | |
tree | ef94137e63d736e48dfb833e703e5cc9e752e68c /gcc/tree-inline.c | |
parent | 88ec1cc98bbfdd6b917cfd98f3ff50c80f93579b (diff) | |
download | gcc-a7818b660d503da6f2f93871bc6a5695b687434b.zip gcc-a7818b660d503da6f2f93871bc6a5695b687434b.tar.gz gcc-a7818b660d503da6f2f93871bc6a5695b687434b.tar.bz2 |
tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where possible.
* tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where
possible.
From-SVN: r97389
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 88bef20..8680a37 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -516,7 +516,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data) /* If this is a constant, we have to copy the node iff the type will be remapped. copy_tree_r will not copy a constant. */ - else if (TREE_CODE_CLASS (TREE_CODE (*tp)) == tcc_constant) + else if (CONSTANT_CLASS_P (*tp) == tcc_constant) { tree new_type = remap_type (TREE_TYPE (*tp), id); |