mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: change Func.{Enter,Exit} from NodeList to slice
Introduces a new types Nodes that can be used to replace NodeList. Update #14473. Change-Id: Id77c5dcae0cbeb898ba12dd46bd400aad408871c Reviewed-on: https://go-review.googlesource.com/19969 Reviewed-by: David Crawshaw <crawshaw@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6520da6ed5
commit
188e3d2515
9 changed files with 157 additions and 44 deletions
|
|
@ -471,7 +471,7 @@ func compile(fn *Node) {
|
|||
}
|
||||
}
|
||||
|
||||
Genlist(Curfn.Func.Enter)
|
||||
Genslice(Curfn.Func.Enter.Slice())
|
||||
Genlist(Curfn.Nbody)
|
||||
gclean()
|
||||
checklabels()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue