summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
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;