]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: prepare mknode for rename of Func.body
authorRuss Cox <rsc@golang.org>
Sun, 6 Dec 2020 20:49:58 +0000 (15:49 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Dec 2020 20:41:37 +0000 (20:41 +0000)
commit2de0af3b1b09e11b71ec4c58bb406be7abf112b0
tree503e7bb57f6c5c872209993b755c92ebc8b97bbe
parent724374f85985d6ce5e5a8a32b4b9aea22ead6dc3
[dev.regabi] cmd/compile: prepare mknode for rename of Func.body

The next CL will rename Func.body to Func.Body_.
At some point in the future we will rename it to Func.Body.
Make the generator not get confused.

Passes buildall w/ toolstash -cmp.

Change-Id: Iee3f4915889a8287377bf3304d5b9250a909477e
Reviewed-on: https://go-review.googlesource.com/c/go/+/275783
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/ir/mknode.go