On 5 July 2013 09:37, Graydon Hoare <[email protected]> wrote:
> It's all done by comparing the stack pointer to a reserved segment register.
> The growth-prologue on x64 looks like this:

I am curious, has moving stack checks to the caller been considered so
a function code can assume that it always has enough space for its
frame?  It allows to replace checks in a all functions that a parent
calls by a single check in the parent for the max stack size. And if
the function does not call anything, then it does not contain any
stack checks.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to