Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StructMake1 (0.18 sec)

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

    		v1.AddArg(ptr)
    		v0.AddArg2(v1, mem)
    		return true
    	}
    	return false
    }
    func rewriteValuedec_OpIMake(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (IMake _typ (StructMake1 val))
    	// result: (IMake _typ val)
    	for {
    		_typ := v_0
    		if v_1.Op != OpStructMake1 {
    			break
    		}
    		val := v_1.Args[0]
    		v.reset(OpIMake)
    		v.AddArg2(_typ, val)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "IData", argLength: 1},                // arg0=interface, returns data field
    
    	// Structs
    	{name: "StructMake0"},                              // Returns struct with 0 fields.
    	{name: "StructMake1", argLength: 1},                // arg0=field0.  Returns struct.
    	{name: "StructMake2", argLength: 2},                // arg0,arg1=field0,field1.  Returns struct.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top