diff options
author | Richard Biener <rguenther@suse.de> | 2017-07-20 12:37:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-07-20 12:37:14 +0000 |
commit | 3fa4fad4974c7c1e39ca387b9e55ffb3607879a3 (patch) | |
tree | 057d05e0ccff4798133bb024656d689b2fda464f /gcc/tree.c | |
parent | 73c4b4df26d90486debc267cd61c55ab350de4e0 (diff) | |
download | gcc-3fa4fad4974c7c1e39ca387b9e55ffb3607879a3.zip gcc-3fa4fad4974c7c1e39ca387b9e55ffb3607879a3.tar.gz gcc-3fa4fad4974c7c1e39ca387b9e55ffb3607879a3.tar.bz2 |
gimple.h (gimple_phi_result): Add gphi * overload.
2017-07-20 Richard Biener <rguenther@suse.de>
* gimple.h (gimple_phi_result): Add gphi * overload.
(gimple_phi_result_ptr): Likewise.
(gimple_phi_arg): Likewise. Adjust index assert to only
allow actual argument accesses rather than all slots available
by capacity.
(gimple_phi_arg_def): Add gphi * overload.
* tree-phinodes.c (make_phi_node): Initialize only actual
arguments.
(resize_phi_node): Clear memory not covered by old node,
do not initialize excess argument slots.
(reserve_phi_args_for_new_edge): Initialize new argument slot
completely.
From-SVN: r250385
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions