Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for panicunsafesliceptrnil (0.19 sec)

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

    		nif.Body.Append(mkcall("panicunsafeslicelen", nil, &nif.Body))
    		appendWalkStmt(init, nif)
    
    		if sliceType.Elem().Size() == 0 {
    			// if ptr == nil && len > 0  {
    			//      panicunsafesliceptrnil()
    			// }
    			nifPtr := ir.NewIfStmt(base.Pos, nil, nil, nil)
    			isNil := ir.NewBinaryExpr(base.Pos, ir.OEQ, unsafePtr, typecheck.NodNil())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top