Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FuncPCABIxxx (0.13 sec)

  1. src/cmd/compile/internal/ir/func.go

    		}
    	}
    	fn.OClosure = clo
    
    	fn.Nname.Defn = fn
    	pkg.Funcs = append(pkg.Funcs, fn)
    
    	return fn
    }
    
    // IsFuncPCIntrinsic returns whether n is a direct call of internal/abi.FuncPCABIxxx functions.
    func IsFuncPCIntrinsic(n *CallExpr) bool {
    	if n.Op() != OCALLFUNC || n.Fun.Op() != ONAME {
    		return false
    	}
    	fn := n.Fun.(*Name).Sym()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    		reflectdata.MarkUsedIfaceMethod(n)
    	}
    
    	if n.Op() == ir.OCALLFUNC && n.Fun.Op() == ir.OCLOSURE {
    		directClosureCall(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.Fun.(*ir.Name).Sym().Name
    		arg := n.Args[0]
    		var wantABI obj.ABI
    		switch name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    			o.exprList(n.Args)
    		}
    		return
    	}
    
    	n := nn.(*ir.CallExpr)
    	typecheck.AssertFixedCall(n)
    
    	if ir.IsFuncPCIntrinsic(n) && ir.IsIfaceOfFunc(n.Args[0]) != nil {
    		// For internal/abi.FuncPCABIxxx(fn), if fn is a defined function,
    		// do not introduce temporaries here, so it is easier to rewrite it
    		// to symbol address reference later in walk.
    		return
    	}
    
    	n.Fun = o.expr(n.Fun, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top