Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for walkStmtList (0.12 sec)

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

    		for {
    			// If an expression has init statements, they must be evaluated
    			// before any of its saved sub-operands (#45706).
    			// TODO(mdempsky): Disallow init statements on lvalues.
    			init := ir.TakeInit(l)
    			walkStmtList(init)
    			early.Append(init...)
    
    			switch ll := l.(type) {
    			case *ir.IndexExpr:
    				if ll.X.Type().IsArray() {
    					save(&ll.Index)
    					l = ll.X
    					continue
    				}
    			case *ir.ParenExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top