mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile/internal/ir: fix doc
Signed-off-by: Park Zhou <ideapark@139.com> Change-Id: I5e42ca6c714b9c1b50241c9d738db366bf1ca1fa Reviewed-on: https://go-review.googlesource.com/c/go/+/542175 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
56c91c0502
commit
b7cdc277e1
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ func (n *miniExpr) Init() Nodes { return n.init }
|
||||||
func (n *miniExpr) PtrInit() *Nodes { return &n.init }
|
func (n *miniExpr) PtrInit() *Nodes { return &n.init }
|
||||||
func (n *miniExpr) SetInit(x Nodes) { n.init = x }
|
func (n *miniExpr) SetInit(x Nodes) { n.init = x }
|
||||||
|
|
||||||
// An AddStringExpr is a string concatenation Expr[0] + Exprs[1] + ... + Expr[len(Expr)-1].
|
// An AddStringExpr is a string concatenation List[0] + List[1] + ... + List[len(List)-1].
|
||||||
type AddStringExpr struct {
|
type AddStringExpr struct {
|
||||||
miniExpr
|
miniExpr
|
||||||
List Nodes
|
List Nodes
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ type Func struct {
|
||||||
NumDefers int32 // number of defer calls in the function
|
NumDefers int32 // number of defer calls in the function
|
||||||
NumReturns int32 // number of explicit returns in the function
|
NumReturns int32 // number of explicit returns in the function
|
||||||
|
|
||||||
// nwbrCalls records the LSyms of functions called by this
|
// NWBRCalls records the LSyms of functions called by this
|
||||||
// function for go:nowritebarrierrec analysis. Only filled in
|
// function for go:nowritebarrierrec analysis. Only filled in
|
||||||
// if nowritebarrierrecCheck != nil.
|
// if nowritebarrierrecCheck != nil.
|
||||||
NWBRCalls *[]SymAndPos
|
NWBRCalls *[]SymAndPos
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue