go/src/cmd
Matthew Dempsky f5516559e6 cmd/compile/internal/x86: fix zero-range merging logic
All other architectures merge stack-zeroing ranges if there are at
most two pointers/registers of memory between them, but x86 is
erroneously coded to require *exactly* two.

Shaves a tiny amount of text size off cmd/go when building for
GOARCH=386 and eliminates an unnecessary inconsistency between x86's
defframe and the other GOARCHes'.

   text	   data	    bss	    dec	    hex	filename
5241015	 191051	  93336	5525402	 544f9a	go.before
5240224	 191051	  93336	5524611	 544c83	go.after

Change-Id: Ib15ec8c07bca11e824640f0ab32abfc4bb160496
Reviewed-on: https://go-review.googlesource.com/30050
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-09-29 18:54:16 +00:00
..
addr2line all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
api all: rename vendored golang.org/x/net packages to golang_org 2016-07-13 18:35:40 +00:00
asm cmd/asm: fix parsing of the s390x VLE{G,F,H,B} instructions 2016-09-27 16:01:11 +00:00
cgo cmd/cgo: fix line info in _cgo_gotypes.go 2016-09-25 12:16:44 +00:00
compile cmd/compile/internal/x86: fix zero-range merging logic 2016-09-29 18:54:16 +00:00
cover cmd: add internal/browser package 2016-09-14 18:26:33 +00:00
dist cmd/dist: enable plugin test on darwin/amd64 2016-09-24 00:24:28 +00:00
doc cmd/doc: ensure functions with unexported return values are shown 2016-08-02 03:24:48 +00:00
fix cmd/fix: add golang.org/x/net/context fix 2016-09-15 19:24:04 +00:00
go cmd/go: enable -buildmode=plugin on darwin/amd64 2016-09-24 00:05:35 +00:00
gofmt gofmt: remove unneeded call to os.Exit 2016-07-11 18:37:12 +00:00
internal cmd/internal/obj/arm: cleanup some unnecessary temps and conversions 2016-09-29 18:14:05 +00:00
link cmd/compile: fix misaligned comments 2016-09-27 14:00:39 +00:00
nm all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
objdump all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
pack all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
pprof cmd/objdump: implement objdump of .o files 2016-08-24 17:36:59 +00:00
trace cmd: add internal/browser package 2016-09-14 18:26:33 +00:00
vendor cmd/objdump: fix disassembly suffixes 2016-06-23 02:28:18 +00:00
vet cmd/vet: hard-code program name in usage message 2016-09-19 20:26:36 +00:00