com php-src: Eliminated checks for (func->op_array.fn _flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers. This slightly improves calls
to regular function and method calls in cost of a bit slower generator initialization. Separate call frame for generators, allocated on heap, now
created by ZEND_GENERATOR_CREATE instruction.: Zend/zend_compile.c Zend/zend_co mpile.h Zend/zend_execute.c Zend/zend_execute.h
Zend/zend_execute_API.c Zend/z
| From: | Dmitry Stogov | Date: | Thu, 12 May 2016 22:40:15 +0000 |
| Subject: | com php-src: Eliminated checks for (func->op_array.fn _flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers. This slightly improves calls to regular function and method calls in cost of a bit slower generator initialization. Separate call frame for generators, allocated on heap, now created by ZEND_GENERATOR_CREATE instruction.: Zend/zend_compile.c Zend/zend_co mpile.h Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/z |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92110@lists.php.net to get a copy of this message | ||
Commit: ccf18da450881bee09e966c0a7fa4d67840d9e38
Author: Dmitry Stogov <dmitry@zend.com> Fri, 13 May 2016 01:40:15 +0300
Parents: b5bdb40cb576fa5b4d769580376ae34881c93574
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ccf18da450881bee09e966c0a7fa4d67840d9e38
Log:
Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of
DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower generator
initialization.
Separate call frame for generators, allocated on heap, now created by ZEND_GENERATOR_CREATE
instruction.
Changed paths:
M Zend/zend_compile.c
M Zend/zend_compile.h
M Zend/zend_execute.c
M Zend/zend_execute.h
M Zend/zend_execute_API.c
M Zend/zend_generators.c
M Zend/zend_generators.h
M Zend/zend_globals.h
M Zend/zend_language_parser.y
M Zend/zend_language_scanner.c
M Zend/zend_language_scanner.l
M Zend/zend_language_scanner_defs.h
M Zend/zend_vm_def.h
M Zend/zend_vm_execute.h
M Zend/zend_vm_opcodes.c
M Zend/zend_vm_opcodes.h
M ext/opcache/Optimizer/zend_cfg.c
Diff: <Diff exceeded maximum size>