diff options
author | Richard Guenther <rguenther@suse.de> | 2012-10-18 10:59:55 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-10-18 10:59:55 +0000 |
commit | c61f8c3b79e093c3485d1b381a04b482c7edf885 (patch) | |
tree | ca0e67dc21d055b07a4151f583dd237d2349044d /gcc/lto-streamer-in.c | |
parent | 595fefee5d18e9a08f2e7b1be156be4ace719a6f (diff) | |
download | gcc-c61f8c3b79e093c3485d1b381a04b482c7edf885.zip gcc-c61f8c3b79e093c3485d1b381a04b482c7edf885.tar.gz gcc-c61f8c3b79e093c3485d1b381a04b482c7edf885.tar.bz2 |
lto-streamer.h (enum LTO_tags): Add LTO_integer_cst.
2012-10-18 Richard Guenther <rguenther@suse.de>
* lto-streamer.h (enum LTO_tags): Add LTO_integer_cst.
* lto-streamer-in.c (lto_input_tree): Use it.
* lto-streamer-out.c (lto_output_tree): Likewise, for
!TREE_OVERFLOW integer constants only.
* tree-streamer-in.c (unpack_ts_int_cst_value_fields): New function.
(unpack_value_fields): Call it.
(streamer_read_integer_cst): Simplify.
* tree-streamer-out.c (pack_ts_int_cst_value_fields): New function.
(streamer_pack_tree_bitfields): Call it.
(streamer_write_integer_cst): Adjust.
From-SVN: r192559
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index a5d13ee..15905f8 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -1086,9 +1086,9 @@ lto_input_tree (struct lto_input_block *ib, struct data_in *data_in) the code and class. */ result = streamer_get_builtin_tree (ib, data_in); } - else if (tag == lto_tree_code_to_tag (INTEGER_CST)) + else if (tag == LTO_integer_cst) { - /* For integer constants we only need the type and its hi/low + /* For shared integer constants we only need the type and its hi/low words. */ result = streamer_read_integer_cst (ib, data_in); } |