Changeset 485 for trunk/optimizer.c
- Timestamp:
- 12/28/2007 10:16:12 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/optimizer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/optimizer.c
r477 r485 151 151 case ZEND_JMPZ_EX: 152 152 case ZEND_JMPNZ_EX: 153 #ifdef ZEND_JMP_SET 154 case ZEND_JMP_SET: 155 #endif 153 156 #ifdef ZEND_JMP_NO_CTOR 154 157 case ZEND_JMP_NO_CTOR: … … 347 350 op_flowinfo_t fi; 348 351 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); 352 358 353 359 /* {{{ mark jmpin/jumpout */ … … 450 456 /* }}} */ 451 457 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); 455 461 return SUCCESS; 456 462 }

