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 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;
90 ZEND_OP1(opline).opline_num -= shiftlist[ZEND_OP1(opline).opline_num];
104 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
107 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
135 uint32_t *opline_num = &op_array->early_binding; local
138 *opline_num
[all...]
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);
147 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
175 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
180 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
279 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
281 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
285 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
289 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
1223 uint32_t *opline_num = &op_array->early_binding; local
[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 */
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c156 ((phpdbg_breakopline_t*)brake)->opline_num);
163 ((phpdbg_breakopline_t*)brake)->opline_num);
170 ((phpdbg_breakopline_t*)brake)->opline_num);
442 if (op_array->last <= brake->opline_num) {
444 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);
446 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);
448 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);
457 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num);
505 brake->opline_num,
585 new_break.opline_num
[all...]
H A Dphpdbg_bp.h87 zend_ulong opline_num; member in struct:_phpdbg_breakopline_t
H A Dphpdbg_opcode.c94 asprintf(&decode[2], "J%u or J%" PRIu32, op->op2.opline_num, op->extended_value);
/PHP_TRUNK/Zend/
H A Dzend_compile.h86 uint32_t opline_num; /* Needs to be signed */ member in union:_znode_op
157 uint32_t opline_num; member in struct:_zend_label
484 #define ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline_num) \
485 ((char*)&(op_array)->opcodes[opline_num] - (char*)(opline))
501 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \
506 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \
517 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \
522 (node).opline_num = ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, (node).jmp_offset); \
H A Dzend_opcode.c517 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
538 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
582 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
583 opline->op1.opline_num = get_next_op_number(op_array);
595 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
612 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
625 opline->op1.opline_num = start_op;
652 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
656 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
680 if ((array_offset = opline->op1.opline_num) !
[all...]
H A Dzend_vm_def.h4545 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
4556 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
7186 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
7206 fast_call->u2.lineno = fast_ret->op2.opline_num;
7214 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
7220 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
H A Dzend_vm_execute.h1722 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1742 fast_call->u2.lineno = fast_ret->op2.opline_num;
1750 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1756 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
2098 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
2109 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
[all...]
H A Dzend_compile.c830 opline->op1.opline_num = dest->opline_num;
1093 uint32_t *opline_num = &CG(active_op_array)->early_binding; local
1095 while (*opline_num != (uint32_t)-1) {
1096 opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num;
1098 *opline_num = opline - CG(active_op_array)->opcodes;
1101 opline->result.opline_num = -1;
1138 uint32_t opline_num local
[all...]

Completed in 88 milliseconds