commit | c8a6890a12cba10819c367a5d4c8b2d2ef24b2ed | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Thu Aug 22 10:13:51 2013 -0400 |
committer | Alan Donovan <adonovan@google.com> | Thu Aug 22 10:13:51 2013 -0400 |
tree | 3c55d0b74bc23376b4b72d11bbe993c07ac56c5e | |
parent | 890e4c0731e69d8d70cd0d17704e6af6475b9cb1 [diff] |
go.tools/ssa: fix a bug building SSA code for ast.CompositeLit. Map literals should use the same recursion logic as struct/array/slice literals to apply an implicit &-operator to the nested literals when a pointer is wanted. + test. Also: - ensure we set the source location for all Lookup and MapUpdate instructions. - remove obsolete address.object field. R=gri, crawshaw CC=golang-dev https://golang.org/cl/12787048