diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2016-05-12 00:44:18 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2016-05-12 00:44:18 +0300 |
| commit | 8a7a913a7a8c6ba4303751e498ee3aaded037186 (patch) | |
| tree | 07f93a72f5420ae0119f3f3bf9f553b0623a7d7e /Zend/zend_API.c | |
| parent | 9ffbd644c4c6052cc263aa34131c8491007c5d7c (diff) | |
| download | php-git-8a7a913a7a8c6ba4303751e498ee3aaded037186.tar.gz | |
Use main VM stack for generators. Only single call frame for generator itself is allocated on heap, call frames for nested functions are allocated on main VM stack. In case "yield" used in context of another function call, call stack has to be frozen and then restored.
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions
