diff options
author | Jan Hubicka <jh@suse.cz> | 2020-01-19 16:41:11 +0100 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-01-19 16:41:11 +0100 |
commit | bf6fc129c0568da74270474a1cf0737120796893 (patch) | |
tree | e1b5a92df1ad3673db683a4d03613cc3fd14d72b /libcpp/errors.c | |
parent | 118aa5e31ce479bb81a003199b4c6ca0d997c9a2 (diff) | |
download | gcc-bf6fc129c0568da74270474a1cf0737120796893.zip gcc-bf6fc129c0568da74270474a1cf0737120796893.tar.gz gcc-bf6fc129c0568da74270474a1cf0737120796893.tar.bz2 |
Implement speculative call verifier
this patch implements verifier and fixes one bug where speculative calls
produced by ipa-devirt ended up having num_speculative_call_targets = 0
instead of 1.
* cgraph.c (cgraph_edge::make_speculative): Increase number of
speculative targets.
(verify_speculative_call): New function
(cgraph_node::verify_node): Use it.
* ipa-profile.c (ipa_profile): Fix formating; do not set number of
speculations.
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions