mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use fast method to check if first arguments should be passed by reference (not tested onbig endian).
This commit is contained in:
parent
af33279a6c
commit
15a5f61cf4
11 changed files with 103 additions and 6 deletions
|
@ -51,6 +51,9 @@ static void op_array_alloc_ops(zend_op_array *op_array, uint32_t size)
|
|||
void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_size)
|
||||
{
|
||||
op_array->type = type;
|
||||
op_array->arg_flags[0] = 0;
|
||||
op_array->arg_flags[1] = 0;
|
||||
op_array->arg_flags[2] = 0;
|
||||
|
||||
op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t));
|
||||
*op_array->refcount = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue