Ignore:
Timestamp:
2012-12-19T09:42:53+01:00 (2 years ago)
Author:
moo
Message:

add support for PHP_5_5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r1201 r1213  
    4949    PROCESS(zend_uint, try_op)
    5050    PROCESS(zend_uint, catch_op)
     51#ifdef ZEND_ENGINE_2_5
     52    PROCESS(zend_uint, finally_op)
     53    PROCESS(zend_uint, finally_end)
     54#endif
    5155')
    5256dnl }}}
     
    654658#endif
    655659            case ZEND_JMP:
     660#ifdef ZEND_FAST_CALL
     661            case ZEND_FAST_CALL:
     662#endif
    656663#ifdef ZEND_ENGINE_2
    657664                assert(Z_OP(src->op1).jmp_addr >= processor->active_op_array_src->opcodes && Z_OP(src->op1).jmp_addr - processor->active_op_array_src->opcodes < processor->active_op_array_src->last);
     
    762769#endif
    763770                    case ZEND_JMP:
     771#ifdef ZEND_FAST_CALL
     772                    case ZEND_FAST_CALL:
     773#endif
    764774#ifdef ZEND_ENGINE_2
    765775                        Z_OP(opline->op1).jmp_addr = &dst->opcodes[Z_OP(opline->op1).jmp_addr - src->opcodes];
     
    874884    PROCESS(zend_uint, T)
    875885
     886#ifdef ZEND_ENGINE_2_4
     887    PROCESS(zend_uint, nested_calls)
     888    PROCESS(zend_uint, used_stack)
     889#endif
     890
    876891    STRUCT_ARRAY(last_brk_cont_t, last_brk_cont, zend_brk_cont_element, brk_cont_array)
    877892    PROCESS(last_brk_cont_t, last_brk_cont)
     
    886901    STRUCT_ARRAY(int, last_try_catch, zend_try_catch_element, try_catch_array)
    887902    PROCESS(int, last_try_catch)
     903#endif
     904#ifdef ZEND_ENGINE_2_5
     905    PROCESS(zend_bool, has_finally_block)
    888906#endif
    889907
Note: See TracChangeset for help on using the changeset viewer.