-
- Downloads
* 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. From-SVN: r192271
Showing
- gcc/ChangeLog 13 additions, 0 deletionsgcc/ChangeLog
- gcc/basic-block.h 31 additions, 0 deletionsgcc/basic-block.h
- gcc/cfghooks.c 54 additions, 0 deletionsgcc/cfghooks.c
- gcc/cfghooks.h 5 additions, 0 deletionsgcc/cfghooks.h
- gcc/cfgrtl.c 24 additions, 0 deletionsgcc/cfgrtl.c
- gcc/passes.c 6 additions, 92 deletionsgcc/passes.c
- gcc/tree-cfg.c 25 additions, 0 deletionsgcc/tree-cfg.c
Loading
Please register or sign in to comment