Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stackalloc (0.63 sec)

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

    	spill    *Value
    	needSlot bool
    	isArg    bool
    }
    
    // stackalloc allocates storage in the stack frame for
    // all Values that did not get a register.
    // Returns a map from block ID to the stack values live at the end of that block.
    func stackalloc(f *Func, spillLive [][]ID) [][]ID {
    	if f.pass.debug > stackDebug {
    		fmt.Println("before stackalloc")
    		fmt.Println(f.String())
    	}
    	s := newStackAllocState(f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    		unlock(&stackpool[order].item.mu)
    	}
    }
    
    // stackalloc allocates an n byte stack.
    //
    // stackalloc must run on the system stack because it uses per-P
    // resources and must not split the stack.
    //
    //go:systemstack
    func stackalloc(n uint32) stack {
    	// Stackalloc must be called on scheduler stack, so that we
    	// never try to grow the stack during the code that stackalloc runs.
    	// Doing so would cause a deadlock (issue 1547).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top