aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-09-15 16:12:53 +0200
committerRichard Biener <rguenther@suse.de>2020-09-15 16:59:09 +0200
commitd876184c095d6ac41e64eaf4e2c78864d2d935c1 (patch)
treeb9495a64cd86e35fd68b745183f4c9f006bff90c /gcc/rtlanal.c
parent3304888c252f079a04ff2be95672d8c1d9a7d34f (diff)
downloadgcc-d876184c095d6ac41e64eaf4e2c78864d2d935c1.zip
gcc-d876184c095d6ac41e64eaf4e2c78864d2d935c1.tar.gz
gcc-d876184c095d6ac41e64eaf4e2c78864d2d935c1.tar.bz2
make swap argument of vect_get_and_check_slp_defs readonly
Since some time we're only using this argument to communicate from vect_build_slp_tree_1 to vect_get_and_check_slp_defs. This makes the direction of information flow clear. 2020-09-15 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_get_and_check_slp_defs): Make swap argument by-value and do not change it. (vect_build_slp_tree_2): Adjust, set swap to NULL after last use.
Diffstat (limited to 'gcc/rtlanal.c')
0 files changed, 0 insertions, 0 deletions