Browse Source

opcode fix: op2 of ZEND_BIND_TRAITS is unused

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@830 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 10 years ago
parent
commit
b11d22334b
  1. 7
      processor/processor.m4

7
processor/processor.m4

@ -612,6 +612,13 @@ dnl }}}
DEF_STRUCT_P_FUNC(`zend_op', , `dnl {{{
DISPATCH(zend_uchar, opcode)
#ifdef ZEND_ENGINE_2_4
IFRESTORE(`', `
switch (src->opcode) {
case ZEND_BIND_TRAITS:
((zend_op *) src)->op2_type = IS_UNUSED;
break;
}
')
UNION_znode_op(result)
UNION_znode_op(op1)
UNION_znode_op(op2)

Loading…
Cancel
Save