1
0
mirror of https://github.com/golang/go synced 2024-10-04 23:21:20 -06:00
go/src/cmd
Matthew Dempsky 1b9f168f73 cmd/compile: use int for field index
All of a struct's fields have to fit into memory anyway, so index them
with int instead of int64.  This also makes it nicer for
cmd/compile/internal/gc to reuse the same NumFields function.

Change-Id: I210be804a0c33370ec9977414918c02c675b0fbe
Reviewed-on: https://go-review.googlesource.com/20691
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-03-15 19:56:43 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
asm cmd/compile: convert data siz to int 2016-03-14 20:22:21 +00:00
cgo all: single space after period. 2016-03-02 00:13:47 +00:00
compile cmd/compile: use int for field index 2016-03-15 19:56:43 +00:00
cover all: single space after period. 2016-03-02 00:13:47 +00:00
dist cmd/dist: build bootstrap toolchain with -l 2016-03-14 21:30:33 +00:00
doc all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
fix all: single space after period. 2016-03-02 00:13:47 +00:00
go testing: implement 'Unordered Output' in Examples. 2016-03-09 04:34:41 +00:00
gofmt all: single space after period. 2016-03-02 00:13:47 +00:00
internal cmd/link, cmd/compile: Add symbol references to object file. 2016-03-15 13:00:07 +00:00
link cmd/link: when pruning methods also prune funcType 2016-03-15 19:41:17 +00:00
nm all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix crash with invalid source 2016-03-13 20:38:16 +00:00
trace all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
vet cmd/vet: remove -test flag 2016-03-07 22:54:38 +00:00
yacc Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00