Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for faultOnNilArg0 (0.41 sec)

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

    		faultOnNilArg0: true,
    		symEffect:      SymRead,
    		asm:            x86.ACMPB,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{1, 255},   // AX CX DX BX SP BP SI DI
    				{0, 65791}, // AX CX DX BX SP BP SI DI SB
    			},
    		},
    	},
    	{
    		name:           "CMPLconstload",
    		auxType:        auxSymValAndOff,
    		argLen:         2,
    		faultOnNilArg0: true,
    		symEffect:      SymRead,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/main.go

    			}
    			if v.nilCheck {
    				fmt.Fprintln(w, "nilCheck: true,")
    			}
    			if v.faultOnNilArg0 {
    				fmt.Fprintln(w, "faultOnNilArg0: true,")
    				if v.aux != "Sym" && v.aux != "SymOff" && v.aux != "SymValAndOff" && v.aux != "Int64" && v.aux != "Int32" && v.aux != "" {
    					log.Fatalf("faultOnNilArg0 with aux %s not allowed", v.aux)
    				}
    			}
    			if v.faultOnNilArg1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/nilcheck.go

    				unnecessary.clear()
    			}
    
    			// Find any pointers that this op is guaranteed to fault on if nil.
    			var ptrstore [2]*Value
    			ptrs := ptrstore[:0]
    			if opcodeTable[v.Op].faultOnNilArg0 && (faultOnLoad || v.Type.IsMemory()) {
    				// On AIX, only writing will fault.
    				ptrs = append(ptrs, v.Args[0])
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "LoweredNilCheck", argLength: 2, reg: regInfo{inputs: []regMask{gp}}, nilCheck: true, faultOnNilArg0: true}, // panic if arg0 is nil. arg1=mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    	call              bool      // is a function call
    	tailCall          bool      // is a tail call
    	nilCheck          bool      // this op is a nil check on arg0
    	faultOnNilArg0    bool      // this op will fault if arg0 is nil (and aux encodes a small offset)
    	faultOnNilArg1    bool      // this op will fault if arg1 is nil (and aux encodes a small offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		log.Fatalf("%s: non-compound expr in genMatch0: %q", rr.Loc, match)
    	}
    	op, oparch, typ, auxint, aux, args := parseValue(match, arch, rr.Loc)
    
    	checkOp = fmt.Sprintf("Op%s%s", oparch, op.name)
    
    	if op.faultOnNilArg0 || op.faultOnNilArg1 {
    		// Prefer the position of an instruction which could fault.
    		pos = v + ".Pos"
    	}
    
    	// If the last argument is ___, it means "don't care about trailing arguments, really"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
Back to top