Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MarkTypeUsedInInterface (0.43 sec)

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

    		if fromType.HasShape() {
    			// Unified IR uses OCONVIFACE for converting all derived types
    			// to interface type. Avoid assertion failure in
    			// MarkTypeUsedInInterface, because we've marked used types
    			// separately anyway.
    		} else {
    			reflectdata.MarkTypeUsedInInterface(fromType, ir.CurFunc.LSym)
    		}
    	}
    
    	if !fromType.IsInterface() {
    		typeWord := reflectdata.ConvIfaceTypeWord(base.Pos, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    			return val.Op() == ir.ONIL
    		}
    
    		if val.Type().HasShape() {
    			// See comment in cmd/compile/internal/walk/convert.go:walkConvInterface
    			return false
    		}
    
    		reflectdata.MarkTypeUsedInInterface(val.Type(), l.Linksym())
    
    		var itab *ir.AddrExpr
    		if typ.IsEmptyInterface() {
    			itab = reflectdata.TypePtrAt(base.Pos, val.Type())
    		} else {
    			itab = reflectdata.ITabAddrAt(base.Pos, val.Type(), typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top