commit | 94ff311d1b91d0bfe2dc53d20d06e81af5a3c46f | [log] [tgz] |
---|---|---|
author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Thu Jan 12 12:08:40 2012 +0100 |
committer | Luuk van Dijk <lvd@golang.org> | Thu Jan 12 12:08:40 2012 +0100 |
tree | 3726fb3fcbe60671beb27d22ad5b0331291a508b | |
parent | e955a3cca2ad600666f2f814aad6075a42a88d4d [diff] |
gc: avoid false positives when using scalar struct fields. The escape analysis code does not make a distinction between scalar and pointers fields in structs. Non-pointer fields that escape should not make the whole struct escape. R=lvd, rsc CC=golang-dev, remy https://golang.org/cl/5489128