The JIT uses the C stack which is not growable. Hence, by the time we get to the operationStackCheck() helper, a stack overflow is imminent. Redoing the stack check there will achieve nothing. Hence, we'll rename operationStackCheck() to operationThrowStackOverflowError(), and change the JIT code to reflect this reality that a StackOverflowError will be thrown unconditionally when we call this helper.
Created attachment 219710 [details] the patch.
Comment on attachment 219710 [details] the patch. r=me Once we have a host zone reserved, we should just compare SP to addressOfJSStackLimit.
Thanks for the review. Landed in r160890: <http://trac.webkit.org/r160890>.