1
0
mirror of https://github.com/golang/go synced 2024-10-04 15:21:22 -06:00
go/src/pkg/reflect
Russ Cox db5f9da425 gc: tweak and enable escape analysis
-s now means *disable* escape analysis.

Fix escape leaks for struct/slice/map literals.
Add ... tracking.
Rewrite new(T) and slice literal into stack allocation when safe.

Add annotations to reflect.
Reflect is too chummy with the compiler,
so changes like these affect it more than they should.

R=lvd, dave, gustavo
CC=golang-dev
https://golang.org/cl/4954043
2011-08-28 12:05:00 -04:00
..
all_test.go reflect: add Value.Bytes, Value.SetBytes methods 2011-08-23 22:50:08 -04:00
deepequal.go reflect: rename Typeof, NewValue -> TypeOf, ValueOf 2011-04-25 13:39:16 -04:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
set_test.go reflect: rename Typeof, NewValue -> TypeOf, ValueOf 2011-04-25 13:39:16 -04:00
tostring_test.go reflect: new Type and Value definitions 2011-04-08 12:26:51 -04:00
type.go reflect: remove references to container/vector. 2011-08-22 13:22:42 +10:00
value.go gc: tweak and enable escape analysis 2011-08-28 12:05:00 -04:00