Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsPtrShaped (0.1 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    		// as not-pointers or vice-versa because of copy
    		// elision.
    		if to.IsPtrShaped() != from.IsPtrShaped() {
    			return s.newValue2(ssa.OpConvert, to, x, s.mem())
    		}
    
    		v := s.newValue1(ssa.OpCopy, to, x) // ensure that v has the right type
    
    		// CONVNOP closure
    		if to.Kind() == types.TFUNC && from.IsPtrShaped() {
    			return v
    		}
    
    		// named <--> unnamed type or typed <--> untyped const
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top