diff options
author | Jan Hubicka <jh@suse.cz> | 2011-05-29 13:40:25 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-05-29 11:40:25 +0000 |
commit | fa7660069590bd9620cc50c003f13cb7fbd24e59 (patch) | |
tree | eed156dd5808f73e4b6f5b4bfe6c145931ecbe0b /gcc/tree.h | |
parent | 04a4a57b1b71244dd9504ae96476d1e8428cc2a4 (diff) | |
download | gcc-fa7660069590bd9620cc50c003f13cb7fbd24e59.zip gcc-fa7660069590bd9620cc50c003f13cb7fbd24e59.tar.gz gcc-fa7660069590bd9620cc50c003f13cb7fbd24e59.tar.bz2 |
lto-streamer-out.c (pack_ts_fixed_cst_value_fields, [...]): Use enum and variable length i/o.
* lto-streamer-out.c (pack_ts_fixed_cst_value_fields,
pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields,
pack_ts_function_decl_value_fields, lto_output_builtin_tree,
output_cfg, output_gimple_stmt): Use enum and variable length i/o.
* lto-streamer-in.c (input_cfg, input_gimple_stmt,
unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields,
unpack_ts_decl_with_vis_value_fields,
unpack_ts_type_common_value_fields, unpack_ts_block_value_fields,
lto_get_builtin_tree): Use enum and variable length i/o.
* basic-block.h (profile_status_d): Add PROFILE_LAST.
* lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range):
New functions.
(bp_pack_enum, bp_unpack_enum): New macros.
From-SVN: r174394
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -277,6 +277,10 @@ enum built_in_class BUILT_IN_NORMAL }; +/* Last marker used for LTO stremaing of built_in_class. We can not add it + to the enum since we need the enumb to fit in 2 bits. */ +#define BUILT_IN_LAST (BUILT_IN_NORMAL + 1) + /* Names for the above. */ extern const char *const built_in_class_names[4]; |