]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
cfghooks.h (create_basic_block): Replace with two overloads for RTL and GIMPLE.
authorRichard Biener <rguenther@suse.de>
Tue, 21 Apr 2015 11:40:46 +0000 (11:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 21 Apr 2015 11:40:46 +0000 (11:40 +0000)
commitc4d281b29a03c1e7637936434a04e9a419f22c00
treec25284f96a167e670591c7a8289f962d38b6e60e
parent8409e468a5f94b7577ccfa073f8b859481a86800
cfghooks.h (create_basic_block): Replace with two overloads for RTL and GIMPLE.

2015-04-21  Richard Biener  <rguenther@suse.de>

* cfghooks.h (create_basic_block): Replace with two overloads
for RTL and GIMPLE.
(split_block): Likewise.
* cfghooks.c (split_block): Rename to ...
(split_block_1): ... this.
(split_block): Add two type-safe overloads for RTL and GIMPLE.
(split_block_after_labels): Call split_block_1.
(create_basic_block): Rename to ...
(create_basic_block_1): ... this.
(create_basic_block): Add two type-safe overloads for RTL and GIMPLE.
(create_empty_bb): Call create_basic_block_1.
* cfgrtl.c (fixup_fallthru_exit_predecessor): Use
split_block_after_labels.
* omp-low.c (expand_parallel_call): Likewise.
(expand_omp_target): Likewise.
(simd_clone_adjust): Likewise.
* tree-chkp.c (chkp_get_entry_block): Likewise.
* cgraphunit.c (init_lowered_empty_function): Use the GIMPLE
create_basic_block overload.
(cgraph_node::expand_thunk): Likewise.
* tree-cfg.c (make_blocks): Likewise.
(handle_abnormal_edges): Likewise.
* tree-inline.c (copy_bb): Likewise.

From-SVN: r222264
gcc/ChangeLog
gcc/cfghooks.c
gcc/cfghooks.h
gcc/cfgrtl.c
gcc/cgraphunit.c
gcc/omp-low.c
gcc/tree-cfg.c
gcc/tree-chkp.c
gcc/tree-inline.c