Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do a check if a local variable exceeds the available stack space.
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
- Loading branch information
ee6991e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of erroring out, wouldn't it be better to just print a warning and set blockJit to true in the containing function to force it to execute in the VM, like functions that overflow the max register count?