Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 152 for IsStmt (0.15 sec)

  1. src/cmd/compile/internal/ir/fmt.go

    		}
    		fmt.Fprintf(w, " %+v", n.Type())
    	}
    	if n.Typecheck() != 0 {
    		fmt.Fprintf(w, " tc(%d)", n.Typecheck())
    	}
    
    	if n.Pos().IsKnown() {
    		fmt.Fprint(w, " # ")
    		switch n.Pos().IsStmt() {
    		case src.PosNotStmt:
    			fmt.Fprint(w, "_") // "-" would be confusing
    		case src.PosIsStmt:
    			fmt.Fprint(w, "+")
    		}
    		sep := ""
    		base.Ctxt.AllPos(n.Pos(), func(pos src.Pos) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    	}
    	return fmt.Printf(format, a...)
    }
    
    func (x *expandState) invalidateRecursively(a *Value) {
    	var s string
    	if x.debug > 0 {
    		plus := " "
    		if a.Pos.IsStmt() == src.PosIsStmt {
    			plus = " +"
    		}
    		s = a.String() + plus + a.Pos.LineNumber() + " " + a.LongString()
    		if x.debug > 1 {
    			x.Printf("...marking %v unused\n", s)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg debug/dwarf, type LineEntry struct, EpilogueBegin bool
    pkg debug/dwarf, type LineEntry struct, File *LineFile
    pkg debug/dwarf, type LineEntry struct, ISA int
    pkg debug/dwarf, type LineEntry struct, IsStmt bool
    pkg debug/dwarf, type LineEntry struct, Line int
    pkg debug/dwarf, type LineEntry struct, OpIndex int
    pkg debug/dwarf, type LineEntry struct, PrologueEnd bool
    pkg debug/dwarf, type LineFile struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/prove.go

    			verb = "Disproved"
    		}
    		if b.Func.pass.debug > 1 {
    			b.Func.Warnl(b.Pos, "%s %s (%s)", verb, c.Op, c)
    		} else {
    			b.Func.Warnl(b.Pos, "%s %s", verb, c.Op)
    		}
    	}
    	if c != nil && c.Pos.IsStmt() == src.PosIsStmt && c.Pos.SameFileAndLine(b.Pos) {
    		// attempt to preserve statement marker.
    		b.Pos = b.Pos.WithIsStmt()
    	}
    	if branch == positive || branch == negative {
    		b.Kind = BlockFirst
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/stmt.go

    	} else {
    		Exprs(rhs)
    	}
    
    	// x, ok = y
    assignOK:
    	for len(lhs) == 2 && cr == 1 {
    		stmt := stmt.(*ir.AssignListStmt)
    		r := rhs[0]
    
    		switch r.Op() {
    		case ir.OINDEXMAP:
    			stmt.SetOp(ir.OAS2MAPR)
    		case ir.ORECV:
    			stmt.SetOp(ir.OAS2RECV)
    		case ir.ODOTTYPE:
    			r := r.(*ir.TypeAssertExpr)
    			stmt.SetOp(ir.OAS2DOTTYPE)
    			r.SetOp(ir.ODOTTYPE2)
    		case ir.ODYNAMICDOTTYPE:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    )
    
    func (check *Checker) simpleStmt(s ast.Stmt) {
    	if s != nil {
    		check.stmt(0, s)
    	}
    }
    
    func trimTrailingEmptyStmts(list []ast.Stmt) []ast.Stmt {
    	for i := len(list); i > 0; i-- {
    		if _, ok := list[i-1].(*ast.EmptyStmt); !ok {
    			return list[:i]
    		}
    	}
    	return nil
    }
    
    func (check *Checker) stmtList(ctxt stmtContext, list []ast.Stmt) {
    	ok := ctxt&fallthroughOk != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stmt.go

    )
    
    func (check *Checker) simpleStmt(s syntax.Stmt) {
    	if s != nil {
    		check.stmt(0, s)
    	}
    }
    
    func trimTrailingEmptyStmts(list []syntax.Stmt) []syntax.Stmt {
    	for i := len(list); i > 0; i-- {
    		if _, ok := list[i-1].(*syntax.EmptyStmt); !ok {
    			return list[:i]
    		}
    	}
    	return nil
    }
    
    func (check *Checker) stmtList(ctxt stmtContext, list []syntax.Stmt) {
    	ok := ctxt&fallthroughOk != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/go/types/labels.go

    				}
    			}
    		}
    		return false
    	}
    
    	blockBranches := func(lstmt *ast.LabeledStmt, list []ast.Stmt) {
    		// Unresolved forward jumps inside the nested block
    		// become forward jumps in the current block.
    		fwdJumps = append(fwdJumps, check.blockBranches(all, b, lstmt, list)...)
    	}
    
    	var stmtBranches func(ast.Stmt)
    	stmtBranches = func(s ast.Stmt) {
    		switch s := s.(type) {
    		case *ast.DeclStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/labels.go

    	b := &block{parent, lstmt, nil}
    
    	var (
    		varDeclPos         syntax.Pos
    		fwdJumps, badJumps []*syntax.BranchStmt
    	)
    
    	// All forward jumps jumping over a variable declaration are possibly
    	// invalid (they may still jump out of the block and be ok).
    	// recordVarDecl records them for the given position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/branches.go

    // block (or nil), ctxt provides information about the enclosing statements,
    // and lstmt is the labeled statement associated with this block, or nil.
    func (ls *labelScope) blockBranches(parent *block, ctxt targets, lstmt *LabeledStmt, start Pos, body []Stmt) []*BranchStmt {
    	b := &block{parent: parent, start: start, lstmt: lstmt}
    
    	var varPos Pos
    	var varName Expr
    	var fwdGotos, badGotos []*BranchStmt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
Back to top