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

/PHP_5_6/ext/opcache/Optimizer/
H A Dnop_removal.c29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
31 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1;
67 ZEND_OP1(opline).opline_num -= shiftlist[ZEND_OP1(opline).opline_num];
82 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
85 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num];
116 zend_uint *opline_num = &op_array->early_binding; local
119 *opline_num
[all...]
H A Dblock_pass.c109 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
111 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
117 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
123 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
157 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
161 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
262 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
264 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
268 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num];
273 cur_block->op1_to = &blocks[ZEND_OP1(opline).opline_num];
1302 zend_uint *opline_num = &op_array->early_binding; local
[all...]
H A Dpass2.c124 if (ZEND_OP2(opline).opline_num == ZEND_OP1(opline + 1).opline_num) {
129 opline->extended_value = ZEND_OP1(opline + 1).opline_num;
131 opline->extended_value = ZEND_OP2(opline).opline_num;
141 int opline_num; variable
144 opline_num = opline->extended_value; /* JMPNZ */
146 opline_num = ZEND_OP2(opline).opline_num; /* JMPZ */
149 ZEND_OP1(opline).opline_num = opline_num;
[all...]
H A Dpass1_5.c212 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 Dpass3.c13 if (jmp_hitlist[i] == ZEND_OP1(&op_array->opcodes[target]).opline_num) { \
17 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP1(&op_array->opcodes[target]).opline_num;
21 if (jmp_hitlist[i] == ZEND_OP2(&op_array->opcodes[target]).opline_num) { \
25 jmp_hitlist[jmp_hitlist_count++] = ZEND_OP2(&op_array->opcodes[target]).opline_num;
33 zend_uint opline_num = 0; variable
137 opline_num++;
150 if (ZEND_OP1(opline).opline_num == opline_num + 1) {
156 while (ZEND_OP1(opline).opline_num < op_array->last
157 && op_array->opcodes[ZEND_OP1(opline).opline_num]
[all...]
H A Dzend_optimizer.c505 ZEND_OP1(opline).opline_num = ZEND_OP1(opline).jmp_addr - op_array->opcodes;
517 ZEND_OP2(opline).opline_num = ZEND_OP2(opline).jmp_addr - op_array->opcodes;
546 ZEND_OP1(opline).jmp_addr = &op_array->opcodes[ZEND_OP1(opline).opline_num];
558 ZEND_OP2(opline).jmp_addr = &op_array->opcodes[ZEND_OP2(opline).opline_num];
/PHP_5_6/Zend/
H A Dzend_language_parser.y316 | T_WHILE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr { zend_do_while_cond(&$3, &$$ TSRMLS_CC); } while_statement { zend_do_while_end(&$1, &$4 TSRMLS_CC); }
317 | T_DO { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_do_while_begin(TSRMLS_C); } statement T_WHILE { $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); } parenthesis_expr ';' { zend_do_do_while_end(&$1, &$4, &$6 TSRMLS_CC); }
321 ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); }
350 | T_DECLARE { $1.u.op.opline_num = get_next_op_number(CG(active_op_array)); zend_do_declare_begin(TSRMLS_C); } '(' declare_list ')' declare_statement { zend_do_declare_end(&$1 TSRMLS_CC); }
374 | /* empty */ { $$.u.op.opline_num = -1; }
383 T_CATCH '(' fully_qualified_class_name { $$.u.op.opline_num = get_next_op_number(CG(active_op_array)); } T_VARIABLE ')' { zend_do_begin_catch(&$1, &$3, &$5, NULL TSRMLS_CC); } '{' inner_statement_list '}' { zend_do_end_catch(&$1 TSRMLS_CC); }
436 T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; }
437 | T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; }
438 | T_TRAIT { $$.u.op.opline_num
[all...]
H A Dzend_execute_API.c1182 opline->op1.jmp_addr = &CG(active_op_array)->opcodes[opline->op1.opline_num];
1190 opline->op2.jmp_addr = &CG(active_op_array)->opcodes[opline->op2.opline_num];
H A Dzend_compile.c1107 close_bracket_token->u.op.opline_num = while_cond_op_number;
1121 opline->op1.opline_num = while_token->u.op.opline_num;
1126 CG(active_op_array)->opcodes[close_bracket_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(active_op_array));
1128 do_end_loop(while_token->u.op.opline_num, 0 TSRMLS_CC);
1141 second_semicolon_token->u.op.opline_num = for_cond_op_number;
1151 opline->op1.opline_num = cond_start->u.op.opline_num;
1152 CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num]
4773 zend_uint *opline_num = &CG(active_op_array)->early_binding; local
4818 zend_uint opline_num = op_array->early_binding; local
[all...]
H A Dzend_compile.h83 zend_uint opline_num; /* Needs to be signed */ member in union:_znode_op
134 zend_uint opline_num; member in struct:_zend_label
H A Dzend_opcode.c529 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
550 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
587 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
588 opline->op1.opline_num = get_next_op_number(op_array);
598 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
613 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
626 opline->op1.opline_num = start_op;
653 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
657 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
681 if ((array_offset = opline->op1.opline_num) !
[all...]
H A Dzend_vm_def.h2088 printf("Jumping to %d\n", opline->op1.opline_num);
2115 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2145 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2181 printf("Conditional jmp on false to %d\n", opline->op2.opline_num);
2183 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.opline_num]);
2211 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2242 printf("Conditional jmp to %d\n", opline->op2.opline_num);
3502 el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
3513 el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
3598 ZEND_VM_JMP(EX(op_array)->opcodes + opline->op2.opline_num);
[all...]
H A Dzend_vm_execute.h668 printf("Jumping to %d\n", opline->op1.opline_num);
956 ZEND_VM_JMP(EX(op_array)->opcodes + opline->op2.opline_num);
1350 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.opline_num]);
1364 EX(fast_ret) = &EX(op_array)->opcodes[EX(fast_ret)->op2.opline_num];
1372 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.opline_num]);
1378 ZEND_VM_SET_OPCODE(&EX(op_array)->opcodes[opline->op2.opline_num]);
1661 el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
1672 el = zend_brk_cont(Z_LVAL_P(opline->op2.zv), opline->op1.opline_num,
2437 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2467 printf("Conditional jmp to %d\n", opline->op2.opline_num);
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_bp.c161 ((phpdbg_breakopline_t*)brake)->opline_num);
168 ((phpdbg_breakopline_t*)brake)->opline_num);
175 ((phpdbg_breakopline_t*)brake)->opline_num);
364 if (op_array->last <= brake->opline_num) {
366 phpdbg_error("There are only %d oplines in function %s (breaking at opline %ld impossible)", op_array->last, brake->func_name, brake->opline_num);
368 phpdbg_error("There are only %d oplines in file %s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->opline_num);
370 phpdbg_error("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);
379 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num);
431 brake->opline_num,
510 new_break.opline_num
[all...]
H A Dphpdbg_bp.h73 zend_ulong opline_num; member in struct:_phpdbg_breakopline_t
H A Dphpdbg_opcode.c96 &decode[2], "J%u or J%lu", op->op2.opline_num, op->extended_value);
H A Dphpdbg.c284 zend_ulong opline_num = (EG(current_execute_data)->opline - local
288 &EG(active_op_array)->opcodes[opline_num+1] TSRMLS_CC);
/PHP_5_6/ext/opcache/
H A Dzend_persist.c330 zend_uint *opline_num = &main_persistent_script->early_binding; local
332 while ((int)*opline_num != -1) {
333 opline_num = &new_opcodes[*opline_num].result.u.opline_num;
335 *opline_num = opline - new_opcodes;
337 opline->result.u.opline_num = -1;
H A Dzend_accelerator_util_funcs.c973 zend_uint opline_num = early_binding; local
975 if ((int)opline_num != -1) {
981 while ((int)opline_num != -1) {
982 if (zend_lookup_class(Z_STRVAL(op_array->opcodes[opline_num - 1].op2.u.constant), Z_STRLEN(op_array->opcodes[opline_num - 1].op2.u.constant), &pce TSRMLS_CC) == SUCCESS) {
983 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC);
985 opline_num = op_array->opcodes[opline_num].result.u.opline_num;

Completed in 63 milliseconds