diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 20:37:11 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 20:37:11 +0000 |
commit | 981934828da13c50a4a58264cd6182664186dbb1 (patch) | |
tree | 784313dcb1809538918556fac30dbf561f9d8332 /gcc/fold-const.c | |
parent | fdf838d1bda0552bf4e92f959a5b745c024fc4a8 (diff) | |
download | gcc-981934828da13c50a4a58264cd6182664186dbb1.tar.gz |
* basic-block. (profile_record): New struct, moved from passes.c.
* cfghooks.h (struct cfg_hooks) <account_profile_record>: New hook.
(account_profile_record): New prototype.
* cfghooks.c (account_profile_record): New function.
* tree-cfg.c (gimple_account_profile_record): New function
(gimple_cfg_hooks): Add it.
* cfgrtl.c (rtl_account_profile_record): New function
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Add it.
* passes.c (check_profile_consistency): Simplify. Move IR-dependent
code around using cfghooks machinery.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions