aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-01-09 23:21:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-01-09 23:21:38 +0000
commite732b4248592cc992eddcd00d37c6457d99381e7 (patch)
treef67e2b7279b92512a19b582799ce951bbc70d1ee /gcc/predict.c
parent9ac55031c41077b7465c64ac80587587709acbba (diff)
downloadgcc-e732b4248592cc992eddcd00d37c6457d99381e7.zip
gcc-e732b4248592cc992eddcd00d37c6457d99381e7.tar.gz
gcc-e732b4248592cc992eddcd00d37c6457d99381e7.tar.bz2
compiler: stack allocate non-escaping makeslice
If we're making a slice of constant size that does not need to escape, allocate it on stack. In lower, do not create temporaries for constant size makeslice, so that it is easier to detect the slice is constant size later. Reviewed-on: https://go-review.googlesource.com/85636 From-SVN: r256404
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions