aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-01-17 21:24:41 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-01-17 21:24:41 +0000
commit06b6c6306496e29005a8d34a7232c23846ac564e (patch)
treedac729920f45521246291f4094a2a88eb51f2f2a /libcpp
parent78a5fce0915a9077f814d05b05277c926032cffa (diff)
downloadgcc-06b6c6306496e29005a8d34a7232c23846ac564e.zip
gcc-06b6c6306496e29005a8d34a7232c23846ac564e.tar.gz
gcc-06b6c6306496e29005a8d34a7232c23846ac564e.tar.bz2
compiler: enable escape analysis for runtime
The runtime package was hard-coded non-escape, and the escape analysis was not run for the runtime package. This CL removes the hard-code, and lets the escape analysis decide. It is not allowed for local variables and closures in the runtime to be heap allocated. This CL adds the check that make sure that they indeed do not escape. The escape analysis is always run when compiling the runtime now. Fixes golang/go#17431 Reviewed-on: https://go-review.googlesource.com/86246 From-SVN: r256820
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions