]> Cypherpunks repositories - gostls13.git/commit
gc: allow tags on parameters in export section of object files.
authorLuuk van Dijk <lvd@golang.org>
Fri, 3 Jun 2011 01:54:56 +0000 (03:54 +0200)
committerLuuk van Dijk <lvd@golang.org>
Fri, 3 Jun 2011 01:54:56 +0000 (03:54 +0200)
commit56668283f1216a87038a210fe0bbddb57aef7ee2
tree845b47f5d03574855d030cbde1fe4ce018c1bf69
parentae5a972d9e4152116795e068cf328caf32a39a88
gc: allow tags on parameters in export section of object files.

This is in preparation of escape analysis; function parameters
can now be tagged with interesting bits by the compiler by
assigning to n->note.

tested by having typecheck put a fake tag on all parameters of
pointer type and compiling the tree.

R=rsc
CC=golang-dev
https://golang.org/cl/4524092
src/cmd/gc/go.y
src/pkg/go/types/gcimporter.go