summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-05-13 01:40:15 +0300
committerDmitry Stogov <dmitry@zend.com>2016-05-13 01:40:15 +0300
commitccf18da450881bee09e966c0a7fa4d67840d9e38 (patch)
tree8fec76394fc2c631c0b5cddf28d48816dbd18d97 /Zend/zend_execute.h
parentb5bdb40cb576fa5b4d769580376ae34881c93574 (diff)
downloadphp-git-ccf18da450881bee09e966c0a7fa4d67840d9e38.tar.gz
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.
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 88c9461dc5..a1d1b0a71b 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -37,7 +37,6 @@ void init_executor(void);
void shutdown_executor(void);
void shutdown_destructors(void);
ZEND_API void zend_init_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval *return_value);
-ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data *call, zend_op_array *op_array, zval *return_value);
ZEND_API void zend_execute(zend_op_array *op_array, zval *return_value);
ZEND_API void execute_ex(zend_execute_data *execute_data);
ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value);