- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StructSelect (0.11 sec)
-
src/cmd/compile/internal/ssa/rewritedec.go
func rewriteValuedec_OpStructSelect(v *Value) bool { v_0 := v.Args[0] b := v.Block // match: (StructSelect [0] (IData x)) // result: (IData x) for { if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpIData { break } x := v_0.Args[0] v.reset(OpIData) v.AddArg(x) return true } // match: (StructSelect (StructMake1 x)) // result: x for { if v_0.Op != OpStructMake1 { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:48:31 UTC 2023 - 24.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "StructMake3", argLength: 3}, // arg0..2=field0..2. Returns struct. {name: "StructMake4", argLength: 4}, // arg0..3=field0..3. Returns struct. {name: "StructSelect", argLength: 1, aux: "Int64"}, // arg0=struct, auxint=field index. Returns the auxint'th field. // Arrays {name: "ArrayMake0"}, // Returns array with 0 elements
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0)