diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 |
commit | 10f55215a4d4ac643bf04202704b4fec01417bba (patch) | |
tree | e6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/debug/dwarf/open.go | |
parent | edc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff) | |
download | golang-10f55215a4d4ac643bf04202704b4fec01417bba.tar.gz |
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
Diffstat (limited to 'src/pkg/debug/dwarf/open.go')
-rw-r--r-- | src/pkg/debug/dwarf/open.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pkg/debug/dwarf/open.go b/src/pkg/debug/dwarf/open.go index 3a1b00311..3b50351d5 100644 --- a/src/pkg/debug/dwarf/open.go +++ b/src/pkg/debug/dwarf/open.go @@ -42,16 +42,16 @@ type Data struct { // the ".debug_abbrev" section. func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, os.Error) { d := &Data{ - abbrev: abbrev, - aranges: aranges, - frame: frame, - info: info, - line: line, - pubnames: pubnames, - ranges: ranges, - str: str, + abbrev: abbrev, + aranges: aranges, + frame: frame, + info: info, + line: line, + pubnames: pubnames, + ranges: ranges, + str: str, abbrevCache: make(map[uint32]abbrevTable), - typeCache: make(map[Offset]Type), + typeCache: make(map[Offset]Type), } // Sniff .debug_info to figure out byte order. |