1
0
mirror of https://github.com/golang/go synced 2024-11-17 02:24:42 -07:00

cmd/compile/internal/walk: delete statement that don't need

Change-Id: I7253aed4808a06379caebf0949aec0f305245d23
Reviewed-on: https://go-review.googlesource.com/c/go/+/494835
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: xie cui <523516579@qq.com>
This commit is contained in:
cuiweixie 2023-05-13 19:05:03 +08:00 committed by Matthew Dempsky
parent 470c6f6418
commit a3e95f3b50

View File

@ -621,7 +621,6 @@ func walkCall1(n *ir.CallExpr, init *ir.Nodes) {
} }
} }
n.Args = args
funSym := n.X.Sym() funSym := n.X.Sym()
if base.Debug.Libfuzzer != 0 && funSym != nil { if base.Debug.Libfuzzer != 0 && funSym != nil {
if hook, found := hooks[funSym.Pkg.Path+"."+funSym.Name]; found { if hook, found := hooks[funSym.Pkg.Path+"."+funSym.Name]; found {