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

/PHP_TRUNK/ext/opcache/Optimizer/
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];
101 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
104 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
132 uint32_t *opline_num = &op_array->early_binding; local
135 *opline_num
[all...]
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 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);
173 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
177 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
272 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
274 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
278 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
282 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
1210 uint32_t *opline_num = &op_array->early_binding; local
[all...]
H A Dpass2.c154 if (ZEND_OP2(opline).opline_num == ZEND_OP1(opline + 1).opline_num) {
159 opline->extended_value = ZEND_OP1(opline + 1).opline_num;
161 opline->extended_value = ZEND_OP2(opline).opline_num;
171 int opline_num; local
173 opline_num = opline->extended_value; /* JMPNZ */
175 opline_num = ZEND_OP2(opline).opline_num; /* JMPZ */
178 ZEND_OP1(opline).opline_num = opline_num;
[all...]
H A Dpass1_5.c226 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%llu", op->op2.opline_num, op->extended_value);
/PHP_TRUNK/Zend/
H A Dzend_compile.c770 opline->op1.opline_num = dest->opline_num;
1033 uint32_t *opline_num = &CG(active_op_array)->early_binding; local
1035 while (*opline_num != (uint32_t)-1) {
1036 opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num;
1038 *opline_num = opline - CG(active_op_array)->opcodes;
1041 opline->result.opline_num = -1;
1078 uint32_t opline_num local
[all...]
H A Dzend_opcode.c494 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
515 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
559 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
560 opline->op1.opline_num = get_next_op_number(op_array);
572 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
589 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
602 opline->op1.opline_num = start_op;
629 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
633 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
657 if ((array_offset = opline->op1.opline_num) !
[all...]
H A Dzend_compile.h78 uint32_t opline_num; /* Needs to be signed */ member in union:_znode_op
154 uint32_t opline_num; member in struct:_zend_label
458 #define ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline_num) \
459 ((char*)&(op_array)->opcodes[opline_num] - (char*)(opline))
475 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \
480 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \
491 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \
496 (node).opline_num = ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, (node).jmp_offset); \
H A Dzend_vm_def.h3750 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
3761 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
6087 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
6107 fast_call->u2.lineno = fast_ret->op2.opline_num;
6115 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
6121 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
H A Dzend_vm_execute.h1452 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1472 fast_call->u2.lineno = fast_ret->op2.opline_num;
1480 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1486 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1775 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
1786 el = zend_brk_cont(Z_LVAL_P(EX_CONSTANT(opline->op2)), opline->op1.opline_num,
[all...]

Completed in 91 milliseconds