optimizer: fix recalc of catch_op/finally_op
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1310 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
081bb66e29
commit
6fc001508c
|
@ -453,6 +453,10 @@ static int bbs_build_from(bbs_t *bbs, zend_op_array *op_array, int count) /* {{{
|
|||
/* mark try start */
|
||||
for (i = 0; i < op_array->last_try_catch; i ++) {
|
||||
oplineinfos[op_array->try_catch_array[i].try_op].isbbhead = 1;
|
||||
oplineinfos[op_array->try_catch_array[i].catch_op].isbbhead = 1;
|
||||
#ifdef ZEND_ENGINE_2_5
|
||||
oplineinfos[op_array->try_catch_array[i].finally_op].isbbhead = 1;
|
||||
#endif
|
||||
}
|
||||
/* }}} */
|
||||
/* {{{ fill op lines with newly allocated id */
|
||||
|
|
Loading…
Reference in New Issue