diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-02-25 01:52:35 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-02-25 01:52:35 +0300 |
commit | 5f278e4d3a97ea0777e471424b52110386f1742e (patch) | |
tree | 563bad3a3e206e7b867ae411bc7abbed236129f9 /Zend/zend_opcode.c | |
parent | dcb96c2e037e5198932385b573baea9a9dbf3252 (diff) | |
download | php-git-5f278e4d3a97ea0777e471424b52110386f1742e.tar.gz |
Use cache_slot offsets instead of indexes (simplify run-time instructions)
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r-- | Zend/zend_opcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 6c3483a250..643f51b926 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -91,7 +91,7 @@ void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_siz op_array->literals = NULL; op_array->run_time_cache = NULL; - op_array->last_cache_slot = 0; + op_array->cache_size = 0; memset(op_array->reserved, 0, ZEND_MAX_RESERVED_RESOURCES * sizeof(void*)); |