Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsNewObject (0.13 sec)

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

    	}
    	if v.Op == OpAddr && v.Aux != nil && v.Aux.(*obj.LSym).Type == objabi.SRODATA {
    		return true
    	}
    	return false
    }
    
    // IsNewObject reports whether v is a pointer to a freshly allocated & zeroed object,
    // if so, also returns the memory state mem at which v is zero.
    func IsNewObject(v *Value, select1 []*Value) (mem *Value, ok bool) {
    	f := v.Block.Func
    	c := f.Config
    	if f.ABIDefault == f.ABI1 && len(c.intParamRegs) >= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
Back to top