Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumParams (0.81 sec)

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

    	// to allocate any stack space). Doing this will require some
    	// extra work in typecheck/walk/ssa, might want to add a new node
    	// OTAILCALL or something to this effect.
    	tailcall := fn.Type().NumResults() == 0 && fn.Type().NumParams() == 0 && fn.Type().NumRecvs() == 0
    	if base.Ctxt.Arch.Name == "ppc64le" && base.Ctxt.Flag_dynlink {
    		// cannot tailcall on PPC64 with dynamic linking, as we need
    		// to restore R2 after call.
    		tailcall = false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top