diff options
author | Keith Randall <khr@golang.org> | 2020-11-28 12:55:01 -0800 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2020-12-29 18:05:07 +0000 |
commit | b3e1ec97fd57d66eb1a1307b8c96141d0014ec51 (patch) | |
tree | 70c6f329a9467f6ad9a4d21f65278751e55848e9 /src/cmd/compile/internal/inline | |
parent | 0620c674ddca234e0a69b5a35c5fb06a881dd73b (diff) | |
download | go-b3e1ec97fd57d66eb1a1307b8c96141d0014ec51.tar.gz go-b3e1ec97fd57d66eb1a1307b8c96141d0014ec51.zip |
[dev.regabi] cmd/compile: move new addrtaken bit back to the old name
Change-Id: I2732aefe95a21c23d73a907d5596fcb1626d6dd7
Reviewed-on: https://go-review.googlesource.com/c/go/+/275697
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>
Diffstat (limited to 'src/cmd/compile/internal/inline')
-rw-r--r-- | src/cmd/compile/internal/inline/inl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/inline/inl.go b/src/cmd/compile/internal/inline/inl.go index 8f3a4b4d8c..126871b805 100644 --- a/src/cmd/compile/internal/inline/inl.go +++ b/src/cmd/compile/internal/inline/inl.go @@ -1012,7 +1012,7 @@ func inlvar(var_ ir.Node) ir.Node { n.Class_ = ir.PAUTO n.SetUsed(true) n.Curfn = ir.CurFunc // the calling function, not the called one - n.SetAddrtaken2(var_.Name().Addrtaken()) + n.SetAddrtaken(var_.Name().Addrtaken()) ir.CurFunc.Dcl = append(ir.CurFunc.Dcl, n) return n |