]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: escape analysis to track flow of in to out parameters.
authorLuuk van Dijk <lvd@golang.org>
Mon, 22 Oct 2012 08:18:17 +0000 (10:18 +0200)
committerLuuk van Dijk <lvd@golang.org>
Mon, 22 Oct 2012 08:18:17 +0000 (10:18 +0200)
commit75692424d2b8e01d24bca015c480af7874373b5e
treec58d5477ef7d62406ccabe2dc91dd0c7976d0620
parent976ca1a47d91a6d07fcae2abcbb59e8300c3adea
cmd/gc: escape analysis to track flow of in to out parameters.

includes step 0: synthesize outparams, from 6600044
step 1: give outparams loopdepth 0 and verify unchanged results
step 2: generate esc:$mask tags, but still tie to sink if a param has mask != 0
next step: use in esccall (and ORETURN with implicit OAS2FUNC) to avoid tying to sink

R=rsc
CC=golang-dev
https://golang.org/cl/6610054
src/cmd/gc/esc.c
src/cmd/gc/go.h