Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewInterfaceSwitchStmt (0.34 sec)

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

    			} else {
    				typeArg = itabType(srcItab)
    			}
    			caseVar := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT])
    			isw := ir.NewInterfaceSwitchStmt(base.Pos, caseVar, s.itabName, typeArg, dotHash, lsym)
    			sw.Compiled.Append(isw)
    
    			// Switch on the result of the call (or cache lookup).
    			var newCases []*ir.CaseClause
    			for i, c := range interfaceCases {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top