Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for IsStmt (0.2 sec)

  1. src/debug/dwarf/line_test.go

    		{Address: 0x4005e7, File: file1C, Line: 6, IsStmt: true},
    		{Address: 0x4005eb, File: file1C, Line: 7, IsStmt: true},
    		{Address: 0x4005f5, File: file1C, Line: 8, IsStmt: true},
    		{Address: 0x4005ff, File: file1C, Line: 9, IsStmt: true},
    		{Address: 0x400601, EndSequence: true},
    
    		{Address: 0x400601, File: file2C, Line: 4, IsStmt: true},
    		{Address: 0x400605, File: file2C, Line: 5, IsStmt: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/nilcheck.go

    				default:
    					if v.Pos.IsStmt() != src.PosNotStmt && !isPoorStatementOp(v.Op) && pendingLines.contains(v.Pos) {
    						v.Pos = v.Pos.WithIsStmt()
    						pendingLines.remove(v.Pos)
    					}
    				}
    			}
    			// This reduces the lost statement count in "go" by 5 (out of 500 total).
    			for j := range b.Values { // is this an ordering problem?
    				v := b.Values[j]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/numberlines.go

    		// Find the first interesting position and check to see if it differs from any predecessor
    		firstPos := src.NoXPos
    		firstPosIndex := -1
    		if b.Pos.IsStmt() != src.PosNotStmt {
    			note(b.Pos)
    		}
    		for i := 0; i < len(b.Values); i++ {
    			v := b.Values[i]
    			if v.Pos.IsStmt() != src.PosNotStmt {
    				note(v.Pos)
    				// skip ahead to better instruction for this line if possible
    				i = nextGoodStatementIndex(v, i, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/stmtlines_test.go

    		for {
    			err := lrdr.Next(&le)
    			if err == io.EOF {
    				break
    			}
    			must(err)
    			fl := Line{le.File.Name, le.Line}
    			lines[fl] = lines[fl] || le.IsStmt
    		}
    	}
    
    	nonStmtLines := []Line{}
    	for line, isstmt := range lines {
    		if !isstmt {
    			nonStmtLines = append(nonStmtLines, line)
    		}
    	}
    
    	var m int
    	if runtime.GOARCH == "amd64" {
    		m = 1 // > 99% obtained on amd64, no backsliding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/deadcode.go

    				live[v.ID] = true
    				q = append(q, v)
    				if v.Pos.IsStmt() != src.PosNotStmt {
    					liveOrderStmts = append(liveOrderStmts, v)
    				}
    			}
    		}
    		for _, v := range b.Values {
    			if (opcodeTable[v.Op].call || opcodeTable[v.Op].hasSideEffects || opcodeTable[v.Op].nilCheck) && !live[v.ID] {
    				live[v.ID] = true
    				q = append(q, v)
    				if v.Pos.IsStmt() != src.PosNotStmt {
    					liveOrderStmts = append(liveOrderStmts, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/internal/src/pos.go

    func (x lico) withStmt(stmt uint) lico {
    	if x == 0 {
    		return lico(0)
    	}
    	return lico(uint(x) & ^uint(isStmtMax<<isStmtShift) | (stmt << isStmtShift))
    }
    
    func (x lico) lineNumber() string {
    	return fmt.Sprintf("%d", x.Line())
    }
    
    func (x lico) lineNumberHTML() string {
    	if x.IsStmt() == PosDefaultStmt {
    		return fmt.Sprintf("%d", x.Line())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/branchelim.go

    	simplePos := simple.Pos
    	postPos := post.Pos
    	simpleStmt := simplePos.IsStmt() == src.PosIsStmt
    	postStmt := postPos.IsStmt() == src.PosIsStmt
    
    	for _, v := range simple.Values {
    		v.Block = dom
    	}
    	for _, v := range post.Values {
    		v.Block = dom
    	}
    
    	// findBlockPos determines if b contains a stmt-marked value
    	// that has the same line number as the Pos for b itself.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/print.go

    		return
    	}
    	fmt.Fprintln(p.w, "    "+b.LongString())
    }
    
    func StmtString(p src.XPos) string {
    	linenumber := "(?) "
    	if p.IsKnown() {
    		pfx := ""
    		if p.IsStmt() == src.PosIsStmt {
    			pfx = "+"
    		}
    		if p.IsStmt() == src.PosNotStmt {
    			pfx = "-"
    		}
    		linenumber = fmt.Sprintf("(%s%d) ", pfx, p.Line())
    	}
    	return linenumber
    }
    
    func (p stringFuncPrinter) value(v *Value, live bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fuse.go

    		// try to move it to a value in the next block,
    		// or to the next block's end, if possible.
    		b_next = bx.Succs[0].b
    		if bx.Pos.IsStmt() == src.PosIsStmt {
    			l := bx.Pos.Line() // looking for another place to mark for line l
    			outOfOrder := false
    			for _, v := range b_next.Values {
    				if v.Pos.IsStmt() == src.PosNotStmt {
    					continue
    				}
    				if l == v.Pos.Line() { // Found a Value with same line, therefore done.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/cmd/internal/src/xpos_test.go

    			{XPos.WithNotStmt, PosNotStmt}} {
    			xposWith := x.f(xpos)
    			expected := x.e
    			if xpos.Line() == 0 && xpos.Col() == 0 {
    				expected = PosNotStmt
    			}
    			if got := xposWith.IsStmt(); got != expected {
    				t.Errorf("expected %v; got %v", expected, got)
    			}
    			if xposWith.Col() != xpos.Col() || xposWith.Line() != xpos.Line() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top