- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BlankNode (0.09 sec)
-
src/cmd/compile/internal/walk/switch.go
if len(concreteCases) > 0 { var clauses []typeClause for _, c := range concreteCases { as := ir.NewAssignListStmt(c.pos, ir.OAS2, []ir.Node{ir.BlankNode, s.okName}, // _, ok = []ir.Node{ir.NewTypeAssertExpr(c.pos, s.srcName, c.typ.Type())}) // iface.(type) nif := ir.NewIfStmt(c.pos, s.okName, []ir.Node{c.jmp}, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
if s.StaticAssign(a, aoff, v, v.Type()) { return } var lhs ir.Node if ir.IsBlank(a) { // Don't use NameOffsetExpr with blank (#43677). lhs = ir.BlankNode } else { lhs = ir.NewNameOffsetExpr(pos, a, aoff, v.Type()) } s.append(ir.NewAssignStmt(pos, lhs, v)) } switch r.Op() { case ir.ONAME: r := r.(*ir.Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0)