Searched refs:opline_num (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass3.c42 if (jmp_hitlist[i] == ZEND_OP1(&op_array->opcodes[target]).opline_num) { \
46 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP1(&op_array->opcodes[target]).opline_num;
50 if (jmp_hitlist[i] == ZEND_OP2(&op_array->opcodes[target]).opline_num) { \
54 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP2(&op_array->opcodes[target]).opline_num;
63 uint32_t opline_num = 0; local
159 opline_num++;
170 if (ZEND_OP1(opline).opline_num == opline_num + 1) {
176 while (ZEND_OP1(opline).opline_num < op_array->last
177 && op_array->opcodes[ZEND_OP1(opline).opline_num]
[all...]
H A Dpass2.c155 if (ZEND_OP2(opline).opline_num == ZEND_OP1(opline + 1).opline_num) {
160 opline->extended_value = ZEND_OP1(opline + 1).opline_num;
162 opline->extended_value = ZEND_OP2(opline).opline_num;
172 int opline_num; local
174 opline_num = opline->extended_value; /* JMPNZ */
176 opline_num = ZEND_OP2(opline).opline_num; /* JMPZ */
179 ZEND_OP1(opline).opline_num = opline_num;
[all...]
H A Dpass1_5.c230 ZEND_OP1(opline + 1).opline_num = last_op - op_array->opcodes; /* that's OK even for ZE2, since opline_num's are resolved in pass 2 later */
H A Dblock_pass.c134 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
136 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
142 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
149 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
177 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
182 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
281 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
283 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
287 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
291 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
1222 uint32_t *opline_num = &op_array->early_binding; local
[all...]
H A Dnop_removal.c56 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
58 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1;
92 ZEND_OP1(opline).opline_num -= shiftlist[ZEND_OP1(opline).opline_num];
106 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
109 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
137 uint32_t *opline_num = &op_array->early_binding; local
140 *opline_num
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h87 zend_ulong opline_num; member in struct:_phpdbg_breakopline_t
H A Dphpdbg_bp.c158 ((phpdbg_breakopline_t*)brake)->opline_num);
165 ((phpdbg_breakopline_t*)brake)->opline_num);
172 ((phpdbg_breakopline_t*)brake)->opline_num);
444 if (op_array->last <= brake->opline_num) {
446 phpdbg_error("breakpoint", "type=\"maxoplines\" add=\"fail\" maxoplinenum=\"%d\" function=\"%s\" usedoplinenum=\"%ld\"", "There are only %d oplines in function %s (breaking at opline %ld impossible)", op_array->last, brake->func_name, brake->opline_num);
448 phpdbg_error("breakpoint", "type=\"maxoplines\" add=\"fail\" maxoplinenum=\"%d\" file=\"%s\" usedoplinenum=\"%ld\"", "There are only %d oplines in file %s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->opline_num);
450 phpdbg_error("breakpoint", "type=\"maxoplines\" add=\"fail\" maxoplinenum=\"%d\" method=\"%s::%s\" usedoplinenum=\"%ld\"", "There are only %d oplines in method %s::%s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->func_name, brake->opline_num);
459 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num);
507 brake->opline_num,
587 new_break.opline_num
[all...]
H A Dphpdbg_opcode.c128 asprintf(&decode[2], "J%u or J%" PRIu32, op->op2.opline_num, op->extended_value);
/PHP_TRUNK/Zend/
H A Dzend_compile.c907 opline->op1.opline_num = dest->opline_num;
1155 uint32_t *opline_num = &CG(active_op_array)->early_binding; local
1157 while (*opline_num != (uint32_t)-1) {
1158 opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num;
1160 *opline_num = opline - CG(active_op_array)->opcodes;
1163 opline->result.opline_num = -1;
1200 uint32_t opline_num local
[all...]
H A Dzend_compile.h75 uint32_t opline_num; /* Needs to be signed */ member in union:_znode_op
176 uint32_t opline_num; member in struct:_zend_label
519 #define ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline_num) \
520 ((char*)&(op_array)->opcodes[opline_num] - (char*)(opline))
536 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \
541 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \
552 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \
557 (node).opline_num = ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, (node).jmp_offset); \
H A Dzend_opcode.c520 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
541 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
585 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
586 opline->op1.opline_num = get_next_op_number(op_array);
598 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
615 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
628 opline->op1.opline_num = start_op;
655 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
659 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
683 if ((array_offset = opline->op1.opline_num) !
[all...]
H A Dzend_vm_def.h4704 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
4715 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
7520 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
7540 fast_call->u2.lineno = fast_ret->op2.opline_num;
7548 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
7554 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
H A Dzend_vm_execute.h1726 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1746 fast_call->u2.lineno = fast_ret->op2.opline_num;
1754 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1760 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
2259 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
2270 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
[all...]

Completed in 82 milliseconds