Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,406 for posTable (0.17 sec)

  1. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    		// and assign globals[i].location = uintptr(unsafe.Pointer(&asanL[i]))
    		asanLi := ir.NewIndexExpr(base.Pos, asanlocation, ir.NewInt(base.Pos, int64(i)))
    		filename := ir.NewString(base.Pos, base.Ctxt.PosTable.Pos(n.Pos()).Filename()+"\000")
    		init.Append(typecheck.Stmt(ir.NewAssignStmt(base.Pos, asanFilename, filename)))
    		c = tconv(typecheck.NodAddr(asanFilename), types.Types[types.TUNSAFEPTR])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadcode.go

    	if f.RegAlloc != nil {
    		for i := range live {
    			live[i] = true
    		}
    		return
    	}
    
    	// Record all the inline indexes we need
    	var liveInlIdx map[int]bool
    	pt := f.Config.ctxt.PosTable
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			i := pt.Pos(v.Pos).Base().InliningIndex()
    			if i < 0 {
    				continue
    			}
    			if liveInlIdx == nil {
    				liveInlIdx = map[int]bool{}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	funchash           map[string]*LSym // name -> sym mapping for ABIInternal syms
    	statichash         map[string]*LSym // name -> sym mapping for static syms
    	PosTable           src.PosTable
    	InlTree            InlTree // global inlining tree used by gc/inl.go
    	DwFixups           *DwarfFixupTable
    	Imports            []goobj.ImportedPkg
    	DiagFunc           func(string, ...interface{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/pcln.go

    func (s *pcinlineState) pctoinline(ctxt *Link, sym *LSym, oldval int32, p *Prog, phase int32, arg interface{}) int32 {
    	if phase == 1 {
    		return oldval
    	}
    
    	posBase := ctxt.PosTable.Pos(p.Pos).Base()
    	if posBase == nil {
    		return -1
    	}
    
    	globalIndex := posBase.InliningIndex()
    	if globalIndex < 0 {
    		return -1
    	}
    
    	if s.globalToLocal == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/wasm/wasmobj.go

    	pc := int64(0) // pc is only incremented when necessary, this avoids bloat of the BrTable instruction
    	var tableIdxs []uint64
    	tablePC := int64(0)
    	base := ctxt.PosTable.Pos(s.Func().Text.Pos).Base()
    	for p := s.Func().Text; p != nil; p = p.Link {
    		prevBase := base
    		base = ctxt.PosTable.Pos(p.Pos).Base()
    		switch p.As {
    		case ABlock, ALoop, AIf:
    			explicitBlockDepth++
    
    		case AEnd:
    			if explicitBlockDepth == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/dwarfgen/dwinl.go

    // calls C calls D" and all three callees are inlined (B, C, and D),
    // the index for a node from the inlined body of D will refer to the
    // call to D from C. Whew.
    func posInlIndex(xpos src.XPos) int {
    	pos := base.Ctxt.PosTable.Pos(xpos)
    	if b := pos.Base(); b != nil {
    		ii := b.InliningIndex()
    		if ii >= 0 {
    			return ii
    		}
    	}
    	return -1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/compare.go

    	hash := fnv.New32()
    	// We ignore the errors here because the `io.Writer` in the `hash.Hash` interface never returns an error.
    	io.WriteString(hash, base.Ctxt.Pkgpath)
    	io.WriteString(hash, base.Ctxt.PosTable.Pos(n.Pos()).AbsFilename())
    	binary.Write(hash, binary.LittleEndian, int64(n.Pos().Line()))
    	binary.Write(hash, binary.LittleEndian, int64(n.Pos().Col()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	}
    	fmt.Fprintf(p.errorWriter, format, args...)
    	p.errorCount++
    	if p.errorCount > 10 && !*flags.AllErrors {
    		log.Fatal("too many errors")
    	}
    }
    
    func (p *Parser) pos() src.XPos {
    	return p.ctxt.PosTable.XPos(src.MakePos(p.lex.Base(), uint(p.lineNum), 0))
    }
    
    func (p *Parser) Parse() (*obj.Prog, bool) {
    	scratch := make([][]lex.Token, 0, 3)
    	for {
    		word, cond, operands, ok := p.line(scratch)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/obj6.go

    		if progMentionsR15(p) {
    			mentionsR15 = true
    		}
    	}
    	if mentionsR15 {
    		for len(work) > 0 {
    			p := work[len(work)-1]
    			work = work[:len(work)-1]
    			if progReadsR15(p) {
    				pos := ctxt.PosTable.Pos(p.Pos)
    				ctxt.Diag("%s:%s: when dynamic linking, R15 is clobbered by a global variable access and is used here: %v", path.Base(pos.Filename()), pos.LineNumber(), p)
    				break // only report one error
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    	return s.entryNewValue1A(ssa.OpAddr, types.NewPtr(types.Types[types.TUINT8]), lsym, s.sb)
    }
    
    func dumpSourcesColumn(writer *ssa.HTMLWriter, fn *ir.Func) {
    	// Read sources of target function fn.
    	fname := base.Ctxt.PosTable.Pos(fn.Pos()).Filename()
    	targetFn, err := readFuncLines(fname, fn.Pos().Line(), fn.Endlineno.Line())
    	if err != nil {
    		writer.Logf("cannot read sources for function %v: %v", fn, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top