Changeset 1310


Ignore:
Timestamp:
2013-07-14T21:02:32+02:00 (14 months ago)
Author:
moo
Message:

optimizer: fix recalc of catch_op/finally_op

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_optimizer/xc_optimizer.c

    r1286 r1310  
    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.