1
0
mirror of https://github.com/golang/go synced 2024-10-05 16:41:21 -06:00
go/src
Keith Randall c24681ae2e [dev.ssa] cmd/compile: remember names of values
For debugging, spill values to named variables instead of autotmp_
variables if possible.  We do this by keeping a name -> value map
for each function, keep it up-to-date during deadcode elim, and use
it to override spill decisions in stackalloc.

It might even make stack frames a bit smaller, as it makes it easy
to identify a set of spills which are likely not to interfere.

This just works for one-word variables for now.  Strings/slices
will be a separate CL.

Change-Id: Ie89eba8cab16bcd41b311c479ec46dd7e64cdb67
Reviewed-on: https://go-review.googlesource.com/16336
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2015-10-28 17:00:31 +00:00
..
archive archive/tar: fix numeric overflow issues in readGNUSparseMap0x1 2015-10-06 17:49:05 +00:00
bufio bufio: fix scanning with a final empty token. 2015-09-25 21:46:13 +00:00
builtin
bytes bytes: improve Compare function on amd64 for large byte arrays 2015-08-26 03:52:20 +00:00
cmd [dev.ssa] cmd/compile: remember names of values 2015-10-28 17:00:31 +00:00
compress compress/flate: improve inflate speed by reading more bits at a time 2015-10-19 00:01:31 +00:00
container
crypto [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2015-10-19 14:00:03 -07:00
database/sql database/sql: avoid deadlock waiting for connections 2015-10-16 15:17:03 +00:00
debug debug/gosym: clean up and modernize pclntab_test 2015-10-07 17:01:59 +00:00
encoding encoding/json: simplify encodeState.{string, stringBytes} 2015-10-14 23:29:14 +00:00
errors
expvar
flag
fmt fmt: clarify reflect.Value printing 2015-10-19 18:29:36 +00:00
go go/types: check that typed constant shift expressions are representable 2015-10-19 17:34:51 +00:00
hash hash/crc32: add AMD64 optimized IEEE CRC calculation 2015-09-16 15:42:42 +00:00
html text/template: change IsTrue to take interface{} instead of reflect.Value. 2015-10-01 04:36:35 +00:00
image image: add NYCbCrA types. 2015-10-11 11:07:25 +00:00
index/suffixarray
internal go/format, cmd/gofmt: avoid dependency on internal package format 2015-09-30 16:32:47 +00:00
io io: simplify documentation for ByteReader 2015-10-06 02:21:29 +00:00
log
math [dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch 2015-10-19 14:00:03 -07:00
mime mime: Remove an allocation in word decoding. 2015-10-18 17:31:52 +00:00
net net: android no longer supports unix/unixgram 2015-10-19 19:27:22 +00:00
os runtime, os/signal: use //go:linkname instead of assembly stubs to get access to runtime functions 2015-10-16 07:11:04 +00:00
path
reflect reflect, runtime, runtime/cgo: use ppc64 asm constant for fixed frame size 2015-10-18 23:15:26 +00:00
regexp regexp: add runnable example to regex.Split 2015-09-23 03:29:32 +00:00
runtime [dev.ssa] cmd/compile: enhance SSA filtering, add OpConvert 2015-10-23 19:32:57 +00:00
sort
strconv strconv: slightly simplified roundShortest; better comments 2015-09-23 21:14:29 +00:00
strings
sync
syscall syscall: fix nacl listener to not accept connections once closed 2015-10-16 14:43:17 +00:00
testing testing/quick: terminate for arbitrary recursive types 2015-08-29 19:23:37 +00:00
text text/template: resolve non-empty interface 2015-10-15 05:02:27 +00:00
time time: allow any one- or two-digit day of the month when parsing. 2015-09-10 20:27:53 +00:00
unicode unicode: include rune 0 in RangeTables. 2015-08-24 15:05:48 +00:00
unsafe
vendor/golang.org/x/net/http2/hpack vendor: import golang.org/x/net/http2 2015-10-14 23:21:40 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: Fix bootstrap.bash for official source tarballs 2015-09-01 19:52:59 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash make.bash: abort if $GOROOT_BOOTSTRAP == $GOROOT 2015-08-24 03:04:52 +00:00
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc