Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsTailCall (0.35 sec)

  1. src/cmd/compile/internal/ssa/_gen/main.go

    	fmt.Fprintln(w, "func (o Op) SymEffect() SymEffect { return opcodeTable[o].symEffect }")
    	fmt.Fprintln(w, "func (o Op) IsCall() bool { return opcodeTable[o].call }")
    	fmt.Fprintln(w, "func (o Op) IsTailCall() bool { return opcodeTable[o].tailCall }")
    	fmt.Fprintln(w, "func (o Op) HasSideEffects() bool { return opcodeTable[o].hasSideEffects }")
    	fmt.Fprintln(w, "func (o Op) UnsafePoint() bool { return opcodeTable[o].unsafePoint }")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    	}
    	return c
    }
    
    // isLeaf reports whether f performs any calls.
    func isLeaf(f *Func) bool {
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Op.IsCall() && !v.Op.IsTailCall() {
    				// tail call is not counted as it does not save the return PC or need a frame
    				return false
    			}
    		}
    	}
    	return true
    }
    
    // needRegister reports whether v needs a register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/opGen.go

    func (o Op) String() string       { return opcodeTable[o].name }
    func (o Op) SymEffect() SymEffect { return opcodeTable[o].symEffect }
    func (o Op) IsCall() bool         { return opcodeTable[o].call }
    func (o Op) IsTailCall() bool     { return opcodeTable[o].tailCall }
    func (o Op) HasSideEffects() bool { return opcodeTable[o].hasSideEffects }
    func (o Op) UnsafePoint() bool    { return opcodeTable[o].unsafePoint }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top