Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stackTempAddr (0.24 sec)

  1. src/cmd/compile/internal/walk/temp.go

    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    }
    
    // stackTempAddr returns the expression &tmp, where tmp is a newly
    // allocated temporary variable of the given type. Statements to
    // zero-initialize tmp are appended to init.
    func stackTempAddr(init *ir.Nodes, typ *types.Type) *ir.AddrExpr {
    	n := typecheck.TempAt(base.Pos, ir.CurFunc, typ)
    	n.SetNonMergeable(true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top