Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EqFor (0.09 sec)

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

    		// a struct/array containing a non-memory field/element.
    		// Small memory is handled inline, and single non-memory
    		// is handled by walkCompare.
    		fn, needsLength := reflectdata.EqFor(t)
    		call := ir.NewCallExpr(base.Pos, ir.OCALL, fn, nil)
    		call.Args.Append(typecheck.NodAddr(cmpl))
    		call.Args.Append(typecheck.NodAddr(cmpr))
    		if needsLength {
    			call.Args.Append(ir.NewInt(base.Pos, t.Size()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top