summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-06-24 02:36:30 +0800
committerXuefer <xuefer@gmail.com>2015-07-03 13:02:03 +0800
commit5ff75525f5983a0dcc8803ec6820e1b8219aa543 (patch)
treedf375a35c48059fe6cea5e6ac927dec221c178d0 /xcache
parent4e5cb618a40dd24c2ee9f66a43524196e71941ae (diff)
downloadxcache-5ff75525f5983a0dcc8803ec6820e1b8219aa543.tar.gz
xcache-5ff75525f5983a0dcc8803ec6820e1b8219aa543.zip
disassembler: (PHP_5_5) fix tmp var num
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xcache/xc_utils.c b/xcache/xc_utils.c
index 7bcce1b..c6f99fa 100644
--- a/xcache/xc_utils.c
+++ b/xcache/xc_utils.c
@@ -309,6 +309,7 @@ static void xc_fix_opcode_ex_znode(int tofix, xc_op_spec_t spec, Z_OP_TYPEOF_TYP
*op_type = IS_UNUSED;
}
break;
+#ifndef ZEND_ENGINE_2_5
case IS_TMP_VAR:
case IS_VAR:
if (tofix) {
@@ -317,6 +318,7 @@ static void xc_fix_opcode_ex_znode(int tofix, xc_op_spec_t spec, Z_OP_TYPEOF_TYP
else {
Z_OP(*op).var *= sizeof(temp_variable);
}
+#endif
}
#endif
}