aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-05-29 13:40:25 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2011-05-29 11:40:25 +0000
commitfa7660069590bd9620cc50c003f13cb7fbd24e59 (patch)
treeeed156dd5808f73e4b6f5b4bfe6c145931ecbe0b /gcc/basic-block.h
parent04a4a57b1b71244dd9504ae96476d1e8428cc2a4 (diff)
downloadgcc-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/basic-block.h')
-rw-r--r--gcc/basic-block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 946fe9d..29c1167 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -283,7 +283,8 @@ enum profile_status_d
{
PROFILE_ABSENT,
PROFILE_GUESSED,
- PROFILE_READ
+ PROFILE_READ,
+ PROFILE_LAST /* Last value, used by profile streaming. */
};
/* A structure to group all the per-function control flow graph data.