Changeset 6fc0015 in git


Ignore:
Timestamp:
2013-07-14T19:02:32Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
3022438
Parents:
081bb66
Message:

optimizer: fix recalc of catch_op/finally_op

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1310 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mod_optimizer/xc_optimizer.c

    r2b73d8c r6fc0015  
    454454    for (i = 0; i < op_array->last_try_catch; i ++) {
    455455        oplineinfos[op_array->try_catch_array[i].try_op].isbbhead = 1;
     456        oplineinfos[op_array->try_catch_array[i].catch_op].isbbhead = 1;
     457#ifdef ZEND_ENGINE_2_5
     458        oplineinfos[op_array->try_catch_array[i].finally_op].isbbhead = 1;
     459#endif
    456460    }
    457461    /* }}} */
Note: See TracChangeset for help on using the changeset viewer.