]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: separate out address taken computation from typechecker
authorKeith Randall <khr@golang.org>
Sun, 29 Nov 2020 00:01:58 +0000 (16:01 -0800)
committerKeith Randall <khr@golang.org>
Tue, 29 Dec 2020 18:04:10 +0000 (18:04 +0000)
commit0523d525ae0dea229cffc5634caddd0acbc066af
treead08e8b89b02662043d39e04ba410a601595f386
parent9ea272e5ec5dd5eadd59d54c08377d5d9527a51b
[dev.regabi] cmd/compile: separate out address taken computation from typechecker

This CL computes a second parallel addrtaken bit that we check
against the old way of doing it. A subsequent CL will rip out the
typechecker code and just use the new way.

Change-Id: I62b7342c44f694144844695386f80088bbd40bf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/275695
Trust: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/inline/inl.go
src/cmd/compile/internal/ir/name.go
src/cmd/compile/internal/typecheck/func.go
src/cmd/compile/internal/typecheck/subr.go
src/cmd/compile/internal/typecheck/typecheck.go
src/cmd/compile/internal/walk/order.go