]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: preserve full inlined location for ir.Name locals
authorDavid Chase <drchase@google.com>
Tue, 31 Jan 2023 04:54:13 +0000 (23:54 -0500)
committerDavid Chase <drchase@google.com>
Tue, 28 Feb 2023 19:08:09 +0000 (19:08 +0000)
commit6dd20f4f12771ce98a55f9735b05417465d0d31f
tree7678b1ef20e8b0cbb96730c82e49ecd4580efdb7
parentab86d29bb5e572a19bed60bdfe75b66a09609a2f
cmd/compile: preserve full inlined location for ir.Name locals

This was noticed while testing hash-search debugging
of the loopvar experiment.

The change is incomplete -- it only addresses local
variables, not parameters.  The code to log/search
changes in loop variable semantics depends on this,
so that will be the test.

Change-Id: I0f84ab7696c6cab43486242cacaba6a0bfc45475
Reviewed-on: https://go-review.googlesource.com/c/go/+/464315
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
src/cmd/compile/internal/noder/reader.go