summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_persist.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-05-13 12:55:42 +0300
committerDmitry Stogov <dmitry@zend.com>2015-05-13 12:55:42 +0300
commitd72a94468efc9016b0bfbf80658b73702e320025 (patch)
treed7d04d030860d55cec0d716028fb1c0b01b5f7c0 /ext/opcache/zend_persist.c
parent6254184a4ddeb0f3ba022df41a61de2d1c394d1b (diff)
downloadphp-git-d72a94468efc9016b0bfbf80658b73702e320025.tar.gz
Merged FE_FETCH_R[W] with the following ASSIGN[_REF] when assigne to CV.
Diffstat (limited to 'ext/opcache/zend_persist.c')
-rw-r--r--ext/opcache/zend_persist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c
index 4aee6fb628..d1c1bb279a 100644
--- a/ext/opcache/zend_persist.c
+++ b/ext/opcache/zend_persist.c
@@ -518,11 +518,13 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc
case ZEND_NEW:
case ZEND_FE_RESET_R:
case ZEND_FE_RESET_RW:
- case ZEND_FE_FETCH_R:
- case ZEND_FE_FETCH_RW:
case ZEND_ASSERT_CHECK:
ZEND_OP2(opline).jmp_addr = &new_opcodes[ZEND_OP2(opline).jmp_addr - op_array->opcodes];
break;
+ case ZEND_FE_FETCH_R:
+ case ZEND_FE_FETCH_RW:
+ /* relative extended_value don't have to be changed */
+ break;
}
}
# endif