FAQ
*** Submitted as
http://code.google.com/p/go/source/detail?r=7df8438a2c41 ***

cmd/gc: escape analysis to track flow of in to out parameters.

includes step 0: synthesize outparams, from 6600044
includes step 1,2: give outparams loopdepth 0 and verify unchanged
results
generate esc:$mask tags, but still tie to sink if a param has
mask != 0
from 6610054

adds final steps:
- have esccall generate n->escretval, a list of nodes the function
results flow to
- use these in esccall and ORETURN/OAS2FUNC/and f(g())
- only tie parameters to sink if tag is absent, otherwise according to
mask, tie them to escretval

R=rsc, bradfitz
CC=dave, gobot, golang-dev, iant, rsc
http://codereview.appspot.com/6741044


http://codereview.appspot.com/6741044/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 29, '12 at 12:38p
activeOct 29, '12 at 12:39p
posts2
users2
websitegolang.org

2 users in discussion

Rsc: 1 post Lvd: 1 post

People

Translate

site design / logo © 2023 Grokbase