diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2023-10-04 15:22:49 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-10-05 15:20:28 +0000 |
| commit | 008dabcd19b5c3f00083c6d4e6c306682bb1bcd0 (patch) | |
| tree | 195eecd26805aa01cbe2f64b20514288f50acfcb /src/cmd/compile/internal/noder/reader.go | |
| parent | dcd018b5c54cd23b36ef732473f0d99fbb57f6fc (diff) | |
| download | go-008dabcd19b5c3f00083c6d4e6c306682bb1bcd0.tar.xz | |
cmd/compile/internal/ir: tweak a couple names
CallExpr.X -> CallExpr.Fun
This consistent with go/ast and cmd/compile/internal/syntax.
OPRINTN -> OPRINTLN
This op represents the "println" builtin; might as well spell it the
same way.
Change-Id: Iead1b007776658c717879cf0997b3c48028428f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/532795
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/noder/reader.go')
| -rw-r--r-- | src/cmd/compile/internal/noder/reader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/noder/reader.go b/src/cmd/compile/internal/noder/reader.go index f25c4afb2d..1c0d0a9acc 100644 --- a/src/cmd/compile/internal/noder/reader.go +++ b/src/cmd/compile/internal/noder/reader.go @@ -3401,7 +3401,7 @@ func unifiedInlineCall(callerfn *ir.Func, call *ir.CallExpr, fn *ir.Func, inlInd // may contain side effects. Make sure to preserve these, // if necessary (#42703). if call.Op() == ir.OCALLFUNC { - inline.CalleeEffects(&init, call.X) + inline.CalleeEffects(&init, call.Fun) } var args ir.Nodes |
