]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/walk/expr.go
cmd/compile/internal/staticinit: make staticopy safe
[gostls13.git] / src / cmd / compile / internal / walk / expr.go
index f3fd9e6c7ad9aa5f8a670c954015c63aacdac36b..b5e60506343d1b09cbbc2f820d7594972349506b 100644 (file)
@@ -549,7 +549,7 @@ func walkCall(n *ir.CallExpr, init *ir.Nodes) ir.Node {
                directClosureCall(n)
        }
 
-       if isFuncPCIntrinsic(n) {
+       if ir.IsFuncPCIntrinsic(n) {
                // For internal/abi.FuncPCABIxxx(fn), if fn is a defined function, rewrite
                // it to the address of the function of the ABI fn is defined.
                name := n.X.(*ir.Name).Sym().Name