]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal: decouple scope tracking from location lists
authorHeschi Kreinick <heschi@google.com>
Tue, 23 Jan 2018 19:10:08 +0000 (14:10 -0500)
committerHeschi Kreinick <heschi@google.com>
Wed, 14 Feb 2018 18:29:18 +0000 (18:29 +0000)
commit7d7af6106f7ce7fb112f754cd1d991c74552247c
tree1f078bc691d2840b25dbfed4e7f2ab3b750238bb
parent07751f4b582d17289dc19511e2f45d48021f827d
cmd/compile/internal: decouple scope tracking from location lists

We're trying to enable location lists by default, and it's easier to do
that if we don't have to worry about scope tracking at the same time.
We can evaluate their performance impact separately.

However, that does mean that "err" is ambiguous in the test case, so
rename it to err2 for now.

Change-Id: I24f119016185c52b7d9affc74207f6a5b450fb6f
Reviewed-on: https://go-review.googlesource.com/89355
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/ssa/testdata/hist.gdb-dbg.nexts
src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts
src/cmd/compile/internal/ssa/testdata/hist.go