diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-04-22 21:46:13 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-04-22 21:46:13 +0300 |
commit | 15a5f61cf4ac1961c20b61ba58e19c64a653064c (patch) | |
tree | cb4159c8130e12c3e9d4ef736ca49ad3464c215f /Zend/zend_opcode.c | |
parent | af33279a6cf1e251a8454d567726df4bbe6be1e4 (diff) | |
download | php-git-15a5f61cf4ac1961c20b61ba58e19c64a653064c.tar.gz |
Use fast method to check if first arguments should be passed by reference (not tested onbig endian).
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r-- | Zend/zend_opcode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 35c42fe4d7..8bdaded38f 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -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; |