Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewAddrExpr (0.16 sec)

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

    		}
    		var e Node = NewLinksymExpr(pos, name.LinksymABI(abi), types.Types[types.TUINTPTR])
    		e = NewAddrExpr(pos, e)
    		e.SetType(types.Types[types.TUINTPTR].PtrTo())
    		e = NewConvExpr(pos, OCONVNOP, types.Types[types.TUINTPTR], e)
    		e.SetTypecheck(1)
    		return e
    	}
    	// fn is not a defined function. It must be ABIInternal.
    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/typecheck/subr.go

    func NodAddr(n ir.Node) *ir.AddrExpr {
    	return NodAddrAt(base.Pos, n)
    }
    
    // NodAddrAt returns a node representing &n at position pos.
    func NodAddrAt(pos src.XPos, n ir.Node) *ir.AddrExpr {
    	return ir.NewAddrExpr(pos, Expr(n))
    }
    
    // LinksymAddr returns a new expression that evaluates to the address
    // of lsym. typ specifies the type of the addressed memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top