summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2012-12-18 07:14:03 +0000
committerXuefer <xuefer@gmail.com>2012-12-18 07:14:03 +0000
commitd84da590ffea38fb6fc860c38e7c4e8e99d98fdf (patch)
treec8ed281a06104140f4709d651b7ef817eb36f5be /xcache
parentc6df026c3700daa6fea6da2a43e0c43e9625d449 (diff)
downloadxcache-d84da590ffea38fb6fc860c38e7c4e8e99d98fdf.tar.gz
xcache-d84da590ffea38fb6fc860c38e7c4e8e99d98fdf.zip
PHP_5_4: fix for ZEND_JMP_SET_VAR
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1208 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xcache/xc_utils.c b/xcache/xc_utils.c
index fa8af52..68a901e 100644
--- a/xcache/xc_utils.c
+++ b/xcache/xc_utils.c
@@ -248,6 +248,9 @@ int xc_redo_pass_two(zend_op_array *op_array TSRMLS_DC) /* {{{ */
#ifdef ZEND_JMP_SET
case ZEND_JMP_SET:
#endif
+#ifdef ZEND_JMP_SET_VAR
+ case ZEND_JMP_SET_VAR:
+#endif
assert(Z_OP(opline->op2).opline_num < op_array->last);
Z_OP(opline->op2).jmp_addr = op_array->opcodes + Z_OP(opline->op2).opline_num;
break;
@@ -357,6 +360,9 @@ int xc_foreach_early_binding_class(zend_op_array *op_array, xc_foreach_early_bin
#ifdef ZEND_JMP_SET
case ZEND_JMP_SET:
#endif
+#ifdef ZEND_JMP_SET_VAR
+ case ZEND_JMP_SET_VAR:
+#endif
next = begin + Z_OP(opline->op2).opline_num;
break;