Browse Source

optimizer: fix goto

git-svn-id: svn://svn.lighttpd.net/xcache/branches/3.0@1212 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
d1aee0b39a
  1. 1
      ChangeLog
  2. 3
      mod_optimizer/xc_optimizer.c

1
ChangeLog

@ -9,6 +9,7 @@ ChangeLog
* fix locking impl: improve stability on threaded env (Thanks to Mircea Nicolae for reproducing the bug)
* diagnosis: undefined variable when ini is not found
* fix ZEND_JMP_SET_VAR
* optimizer: fix for goto
3.0.0 2012-10-29
API Changes

3
mod_optimizer/xc_optimizer.c

@ -167,6 +167,9 @@ static int op_get_flowinfo(op_flowinfo_t *fi, zend_op *opline) /* {{{ */
case ZEND_EXIT:
return SUCCESS; /* no fall */
#ifdef ZEND_GOTO
case ZEND_JMP_SET:
#endif
case ZEND_JMP:
fi->jmpout_op1 = Z_OP(opline->op1).opline_num;
return SUCCESS; /* no fall */

Loading…
Cancel
Save