From a5a249d6a64508376320bc48546a6a43aebecda7 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sun, 19 Oct 2025 19:53:27 +0000 Subject: all: eliminate unnecessary type conversions Found by github.com/mdempsky/unconvert Change-Id: I88ce10390a49ba768a4deaa0df9057c93c1164de GitHub-Last-Rev: 3b0f7e8f74f58340637f33287c238765856b2483 GitHub-Pull-Request: golang/go#75974 Reviewed-on: https://go-review.googlesource.com/c/go/+/712940 LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall Auto-Submit: Keith Randall Reviewed-by: Keith Randall Reviewed-by: David Chase --- src/cmd/compile/internal/noder/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/compile/internal/noder') diff --git a/src/cmd/compile/internal/noder/reader.go b/src/cmd/compile/internal/noder/reader.go index a8a45b0269..d7dd58d8ca 100644 --- a/src/cmd/compile/internal/noder/reader.go +++ b/src/cmd/compile/internal/noder/reader.go @@ -3577,7 +3577,7 @@ func unifiedInlineCall(callerfn *ir.Func, call *ir.CallExpr, fn *ir.Func, inlInd edit(r.curfn) }) - body := ir.Nodes(r.curfn.Body) + body := r.curfn.Body // Reparent any declarations into the caller function. for _, name := range r.curfn.Dcl { -- cgit v1.3-5-g9baa