diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-07-19 12:01:18 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-07-19 12:01:18 +0000 |
commit | 20deef65ae6058143c29199c1aab12d94e75181c (patch) | |
tree | b6dcbebf79db91f5571b47a27f8b9a743b188ee7 /gcc/lto-streamer-out.c | |
parent | 4d6ababc620d19dfe258c493a549981723fe0e42 (diff) | |
download | gcc-20deef65ae6058143c29199c1aab12d94e75181c.zip gcc-20deef65ae6058143c29199c1aab12d94e75181c.tar.gz gcc-20deef65ae6058143c29199c1aab12d94e75181c.tar.bz2 |
tree.h (TYPE_MINVAL, [...]): Rename to ...
gcc/
* tree.h (TYPE_MINVAL, TYPE_MAXVAL): Rename to ...
(TYPE_MIN_VALUE_RAW, TYPE_MAX_VALUE_RAW): ... these.
* tree.c (find_decls_types_r, verify_type): Use
TYPE_{MIN,MAX}_VALUE_RAW.
* lto-streamer-out.c (DFS::DFS_write_tree_body): Likewise.
(hash_tree): Likewise.
* tree-streamer-in.c (lto_input_ts_type_non_common_tree_pointers):
Likewise.
* tree-streamer-out.c (write_ts_type_non_common_tree_pointers):
Likewise.
gcc/cp/
* cp-tree.h (PACK_EXPANSION_PARAMETER_PACKS,
PACK_EXPANSION_EXTRA_ARGS): Use TYPE_{MIN,MAX}_VALUE_RAW.
gcc/lto/
* lto.c (mentions_vars_p_type): Use TYPE_{MIN,MAX}_VALUE_RAW.
(compare_tree_sccs_1, lto_fixup_prevailing_decls): Likewise.
gcc/objc/
* objc-act.h (CLASS_NST_METHODS, CLASS_CLS_METHODS): Use
TYPE_{MIN,MAX}_VALUE_RAW.
From-SVN: r250337
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index f35dd02..41fba31 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -835,8 +835,8 @@ DFS::DFS_write_tree_body (struct output_block *ob, DFS_follow_tree_edge (TYPE_ARG_TYPES (expr)); if (!POINTER_TYPE_P (expr)) - DFS_follow_tree_edge (TYPE_MINVAL (expr)); - DFS_follow_tree_edge (TYPE_MAXVAL (expr)); + DFS_follow_tree_edge (TYPE_MIN_VALUE_RAW (expr)); + DFS_follow_tree_edge (TYPE_MAX_VALUE_RAW (expr)); if (RECORD_OR_UNION_TYPE_P (expr)) DFS_follow_tree_edge (TYPE_BINFO (expr)); } @@ -1271,8 +1271,8 @@ hash_tree (struct streamer_tree_cache_d *cache, hash_map<tree, hashval_t> *map, || code == METHOD_TYPE) visit (TYPE_ARG_TYPES (t)); if (!POINTER_TYPE_P (t)) - visit (TYPE_MINVAL (t)); - visit (TYPE_MAXVAL (t)); + visit (TYPE_MIN_VALUE_RAW (t)); + visit (TYPE_MAX_VALUE_RAW (t)); if (RECORD_OR_UNION_TYPE_P (t)) visit (TYPE_BINFO (t)); } |