Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LinksymABI (0.23 sec)

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

    func (f *Func) Sym() *types.Sym                  { return f.Nname.Sym() }
    func (f *Func) Linksym() *obj.LSym               { return f.Nname.Linksym() }
    func (f *Func) LinksymABI(abi obj.ABI) *obj.LSym { return f.Nname.LinksymABI(abi) }
    
    // An Inline holds fields used for function bodies that can be inlined.
    type Inline struct {
    	Cost int32 // heuristic cost of inlining this function
    
    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/ssagen/abi.go

    			// frame layout. Pin it to ABI0.
    			fn.ABI = obj.ABI0
    			// Propagate linkname attribute, which was set on the ABIInternal
    			// symbol.
    			if sym.Linksym().IsLinkname() {
    				sym.LinksymABI(fn.ABI).Set(obj.AttrLinkname, true)
    			}
    		}
    
    		// If cgo-exported, add the definition ABI to the cgo
    		// pragmas.
    		cgoExport := cgoExports[symName]
    		for _, pprag := range cgoExport {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/switch.go

    		if len(interfaceCases) > 0 {
    
    			// Build an internal/abi.InterfaceSwitch descriptor to pass to the runtime.
    			lsym := types.LocalPkg.Lookup(fmt.Sprintf(".interfaceSwitch.%d", interfaceSwitchGen)).LinksymABI(obj.ABI0)
    			interfaceSwitchGen++
    			c := rttype.NewCursor(lsym, 0, rttype.InterfaceSwitch)
    			c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyInterfaceSwitchCache"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    	// When converting from an interface to a non-empty interface. Needs a runtime call.
    	// Allocate an internal/abi.TypeAssert descriptor for that call.
    	lsym := types.LocalPkg.Lookup(fmt.Sprintf(".typeAssert.%d", typeAssertGen)).LinksymABI(obj.ABI0)
    	typeAssertGen++
    	c := rttype.NewCursor(lsym, 0, rttype.TypeAssert)
    	c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyTypeAssertCache"))
    	c.Field("Inter").WritePtr(reflectdata.TypeLinksym(target))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top