aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-11-09 10:45:26 +0100
committerAldy Hernandez <aldyh@redhat.com>2021-11-09 18:23:43 +0100
commit2b59cf475a06f37c2b49631043f2896455923c3c (patch)
tree9442d450b2b2f0dd496fbd8305f6d0d9b29b7616 /gcc/function.c
parent2d60c0a3eedea4d0f1d40806a5f95540a1a4219e (diff)
downloadgcc-2b59cf475a06f37c2b49631043f2896455923c3c.zip
gcc-2b59cf475a06f37c2b49631043f2896455923c3c.tar.gz
gcc-2b59cf475a06f37c2b49631043f2896455923c3c.tar.bz2
Return NULL for maybe_register_path when unprofitable.
This is a minor cleanup for maybe_register_path to return NULL when the path is unprofitable. It is needed for a follow-up patch to generate better dumps from the threader. There is no change in behavior, since the only call to this function bails on !profitable_path_p. Tested on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadbackward.c (back_threader::maybe_register_path): Return NULL when unprofitable.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions