check stack_limit in closure_convert
Summary:
The stack ending in
D34818118 refactors p_expr_impl() a few functions at
a time. Once the lowerer stack usage crossed under the emitter stack usage,
stack overflows began to occur in closure_convert since the lowerer was no
longer stretching the stack enough.
This diff plumbs stack_limit down enough to prevent those stack overflows.
Reviewed By: shayne-fletcher
Differential Revision:
D34818023
fbshipit-source-id:
1a6c7803cafcce2a051860db37940be80fa88386