Changeset 485 for trunk/optimizer.c


Ignore:
Timestamp:
2007-12-28T11:16:12+01:00 (6 years ago)
Author:
moo
Message:

5.3 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/optimizer.c

    r477 r485  
    151151    case ZEND_JMPZ_EX: 
    152152    case ZEND_JMPNZ_EX: 
     153#ifdef ZEND_JMP_SET 
     154    case ZEND_JMP_SET: 
     155#endif 
    153156#ifdef ZEND_JMP_NO_CTOR 
    154157    case ZEND_JMP_NO_CTOR: 
     
    347350    op_flowinfo_t fi; 
    348351    zend_op *opline; 
    349     bbid_t *bbids          = do_alloca(count * sizeof(bbid_t)); 
    350     bbid_t *catchbbids     = do_alloca(count * sizeof(bbid_t)); 
    351     zend_bool *markbbhead  = do_alloca(count * sizeof(zend_bool)); 
     352    ALLOCA_FLAG(use_heap_bbids) 
     353    ALLOCA_FLAG(use_heap_catchbbids) 
     354    ALLOCA_FLAG(use_heap_markbbhead) 
     355    bbid_t *bbids          = my_do_alloca(count * sizeof(bbid_t),    use_heap_bbids); 
     356    bbid_t *catchbbids     = my_do_alloca(count * sizeof(bbid_t),    use_heap_catchbbids); 
     357    zend_bool *markbbhead  = my_do_alloca(count * sizeof(zend_bool), use_heap_markbbhead); 
    352358 
    353359    /* {{{ mark jmpin/jumpout */ 
     
    450456    /* }}} */ 
    451457 
    452     free_alloca(catchbbids); 
    453     free_alloca(bbids); 
    454     free_alloca(markbbhead); 
     458    my_free_alloca(markbbhead, use_heap_markbbhead); 
     459    my_free_alloca(catchbbids, use_heap_catchbbids); 
     460    my_free_alloca(bbids,      use_heap_bbids); 
    455461    return SUCCESS; 
    456462} 
Note: See TracChangeset for help on using the changeset viewer.