Home
last modified time | relevance | path

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

/PHP-7.3/ext/opcache/
H A Dzend_persist.c426 zend_op *new_opcodes = zend_accel_memdup(op_array->opcodes, sizeof(zend_op) * op_array->last); in zend_persist_op_array_ex() local
427 zend_op *opline = new_opcodes; in zend_persist_op_array_ex()
428 zend_op *end = new_opcodes + op_array->last; in zend_persist_op_array_ex()
449 ((zval*)((char*)(op_array->opcodes + (opline - new_opcodes)) + in zend_persist_op_array_ex()
461 ((zval*)((char*)(op_array->opcodes + (opline - new_opcodes)) + in zend_persist_op_array_ex()
472 opline->op1.jmp_addr = &new_opcodes[opline->op1.jmp_addr - op_array->opcodes]; in zend_persist_op_array_ex()
486 opline->op2.jmp_addr = &new_opcodes[opline->op2.jmp_addr - op_array->opcodes]; in zend_persist_op_array_ex()
490 opline->op2.jmp_addr = &new_opcodes[opline->op2.jmp_addr - op_array->opcodes]; in zend_persist_op_array_ex()
507 op_array->opcodes = new_opcodes; in zend_persist_op_array_ex()
/PHP-7.3/ext/opcache/Optimizer/
H A Dblock_pass.c912 zend_op *new_opcodes; in assemble_code_blocks() local
954 new_opcodes = emalloc(len * sizeof(zend_op)); in assemble_code_blocks()
955 opline = new_opcodes; in assemble_code_blocks()
961 b->start = opline - new_opcodes; in assemble_code_blocks()
968 op_array->opcodes = new_opcodes; in assemble_code_blocks()
979 ZEND_SET_OP_JMP_ADDR(opline, opline->op1, new_opcodes + blocks[b->successors[0]].start); in assemble_code_blocks()
982 …opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[1]].star… in assemble_code_blocks()
993 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, new_opcodes + blocks[b->successors[0]].start); in assemble_code_blocks()
997 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, new_opcodes + blocks[b->successors[0]].start); in assemble_code_blocks()
1015 Z_LVAL_P(zv) = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[s++]].start); in assemble_code_blocks()
[all …]

Completed in 12 milliseconds