Searched refs:new_opcodes (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c1139 zend_op *new_opcodes = emalloc(op_array->last * sizeof(zend_op)); local
1140 zend_op *opline = new_opcodes;
1180 op_array->last = opline-new_opcodes;
1187 op_array->try_catch_array[j].try_op = cfg->try[i]->start_opline - new_opcodes;
1188 op_array->try_catch_array[j].catch_op = cfg->catch[i]->start_opline - new_opcodes;
1199 op_array->brk_cont_array[i].start = cfg->loop_start[i]->start_opline - new_opcodes;
1200 op_array->brk_cont_array[i].cont = cfg->loop_cont[i]->start_opline - new_opcodes;
1201 op_array->brk_cont_array[i].brk = cfg->loop_brk[i]->start_opline - new_opcodes;
1215 ZEND_OP1(opline).opline_num = cur_block->op1_to->start_opline - new_opcodes;
1218 ZEND_OP2(opline).opline_num = cur_block->op2_to->start_opline - new_opcodes;
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c484 zend_op *new_opcodes = zend_accel_memdup(op_array->opcodes, sizeof(zend_op) * op_array->last); local
486 zend_op *opline = new_opcodes;
487 zend_op *end = new_opcodes + op_array->last;
507 ZEND_OP1(opline).jmp_addr = &new_opcodes[ZEND_OP1(opline).jmp_addr - op_array->opcodes];
522 ZEND_OP2(opline).jmp_addr = &new_opcodes[ZEND_OP2(opline).jmp_addr - op_array->opcodes];
535 op_array->opcodes = new_opcodes;

Completed in 6 milliseconds