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

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h87 zend_ulong opline_num; member in struct:_phpdbg_breakopline_t
H A Dphpdbg_opcode.c124 spprintf(&decode[2], 0, "J%" PRIu32, op->op2.opline_num);
H A Dphpdbg_bp.c162 ((phpdbg_breakopline_t*)brake)->opline_num);
169 ((phpdbg_breakopline_t*)brake)->opline_num);
176 ((phpdbg_breakopline_t*)brake)->opline_num);
477 if (op_array->last <= brake->opline_num) {
479 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);
481 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);
483 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);
492 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num);
540 brake->opline_num,
622 new_break.opline_num
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
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 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.c127 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
129 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
135 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
142 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
170 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
277 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
279 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
283 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
287 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
291 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
1230 uint32_t *opline_num = &op_array->early_binding; local
[all...]
H A Dnop_removal.c48 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
50 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1;
83 ZEND_OP1(opline).opline_num -= shiftlist[ZEND_OP1(opline).opline_num];
95 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
102 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
130 uint32_t *opline_num = &op_array->early_binding; local
133 *opline_num
[all...]
H A Dpass1_5.c233 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/Zend/
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
516 #define ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, opline_num) \
517 ((char*)&(op_array)->opcodes[opline_num] - (char*)(opline))
533 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \
538 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \
549 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \
554 (node).opline_num = ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, (node).jmp_offset); \
H A Dzend_opcode.c534 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
555 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
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;
700 zend_resolve_finally_call(op_array, i, opline->op1.opline_num);
759 opline->op1.opline_num = jmp_target;
H A Dzend_vm_def.h7534 fast_call->u2.lineno = fast_ret->op2.opline_num;
7542 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
7548 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
H A Dzend_vm_execute.h1633 fast_call->u2.lineno = fast_ret->op2.opline_num;
1641 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
1647 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2.opline_num]);
[all...]
H A Dzend_compile.c1096 uint32_t *opline_num = &CG(active_op_array)->early_binding; local
1098 while (*opline_num != (uint32_t)-1) {
1099 opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num;
1101 *opline_num = opline - CG(active_op_array)->opcodes;
1104 opline->result.opline_num = -1;
1141 uint32_t opline_num = op_array->early_binding; local
1145 while (opline_num != (uint32_t)-1) {
1146 zval *parent_name = RT_CONSTANT(op_array, op_array->opcodes[opline_num
[all...]

Completed in 95 milliseconds