summaryrefslogtreecommitdiff
path: root/processor
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 /processor
parent4e5cb618a40dd24c2ee9f66a43524196e71941ae (diff)
downloadxcache-5ff75525f5983a0dcc8803ec6820e1b8219aa543.tar.gz
xcache-5ff75525f5983a0dcc8803ec6820e1b8219aa543.zip
disassembler: (PHP_5_5) fix tmp var num
Diffstat (limited to 'processor')
-rw-r--r--processor/processor.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/processor/processor.m4 b/processor/processor.m4
index 5823718..03eaef7 100644
--- a/processor/processor.m4
+++ b/processor/processor.m4
@@ -691,6 +691,14 @@ define(`UNION_znode_op', `dnl {{{
', `
case IS_VAR:
case IS_TMP_VAR:
+ IFDASM(`
+#ifdef ZEND_ENGINE_2_5
+ add_assoc_long_ex(DST(), XCACHE_STRS("$1.var"), (temp_variable *)0 - (temp_variable *)((int) SRC($1.var)) - 1);
+ break;
+#endif
+ ', `
+ /* no break */
+ ')
case IS_CV:
PROCESS(zend_uint, $1.var)
break;