1
0
mirror of https://github.com/golang/go synced 2024-10-05 05:11:25 -06:00
go/src/cmd
Matthew Dempsky 81d4072eb0 cmd/internal/gc, runtime: change growslice to use int instead of int64
Gc already calculates n as an int, so converting to int64 to call
growslice doesn't serve any purpose except to emit slightly larger
code on 32-bit platforms.  Passing n as an int shrinks godoc's text
segment by 8kB (9472633 => 9464133) when building for ARM.

Change-Id: Ief9492c21d01afcb624d3f2a484df741450b788d
Reviewed-on: https://go-review.googlesource.com/6231
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-03-04 17:17:17 +00:00
..
5g cmd/internal/gc: manual goto removal + grind to move var decls 2015-03-03 20:33:57 +00:00
5l cmd/5g etc: mechanical cleanup 2015-03-02 18:40:28 +00:00
6g cmd/internal/gc: manual goto removal + grind to move var decls 2015-03-03 20:33:57 +00:00
6l liblink, cmd/6l: re-enable -shared on amd64 2015-03-04 01:55:30 +00:00
8g cmd/internal/gc: manual goto removal + grind to move var decls 2015-03-03 20:33:57 +00:00
8l cmd/5g etc: mechanical cleanup 2015-03-02 18:40:28 +00:00
9g cmd/internal/gc: manual goto removal + grind to move var decls 2015-03-03 20:33:57 +00:00
9l cmd/5g etc: mechanical cleanup 2015-03-02 18:40:28 +00:00
addr2line cmd/addr2line: exclude Go tool test on darwin/arm 2015-02-26 23:06:30 +00:00
api Revert "cmd/api: treat a hex-y VERSION as devel and permit API changes" 2015-02-08 20:44:22 +00:00
asm liblink, cmd/6l: re-enable -shared on amd64 2015-03-04 01:55:30 +00:00
cgo cmd/cgo: detect misuse of generated _cgo_export.h 2015-02-06 05:37:02 +00:00
dist build: don't run a cgo test when cgo is disabled 2015-03-04 00:25:25 +00:00
fix build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
go cmd/go: avoid creating new empty environment variables 2015-03-02 19:17:21 +00:00
gofmt gofmt/doc: gofmt -s output may not be backward compatible 2015-02-08 05:13:00 +00:00
internal cmd/internal/gc, runtime: change growslice to use int instead of int64 2015-03-04 17:17:17 +00:00
link debug/goobj: move to cmd/internal/goobj 2014-11-16 20:52:45 -05:00
nm cmd/nm: exclude Go tool test on darwin/arm 2015-02-26 23:07:27 +00:00
objdump cmd/objdump: skip fork test on darwin/arm 2015-02-27 19:38:23 +00:00
old5a all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
old6a all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
old8a all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
old9a all: mv 5a old5a and so on 2015-03-02 00:14:11 +00:00
pack cmd/pack: skip fork test on darwin/arm 2015-03-01 01:27:06 +00:00
pprof cmd/pprof: add -runtime flag 2015-02-19 19:46:20 +00:00
trace cmd/trace: add new command 2015-02-20 18:31:25 +00:00
yacc [dev.cc] cmd/yacc: introduce yyParser to expose parser state 2015-02-18 02:39:48 +00:00