Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    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)
    	}
    
    	// Read sources of inlined functions.
    	var inlFns []*ssa.FuncLines
    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