Home
last modified time | relevance | path

Searched refs:opline_num (Results 1 – 14 of 14) sorted by relevance

/PHP-5.5/ext/opcache/Optimizer/
H A Dpass3.c33 zend_uint opline_num = 0; variable
129 opline_num++;
142 if (ZEND_OP1(opline).opline_num == opline_num + 1) {
152 ZEND_OP1(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
171 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
188 if (ZEND_OP2(opline).opline_num == opline_num + 1) {
200 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
206 ZEND_OP2(opline).opline_num = ZEND_OP2(&op_array->opcodes[target]).opline_num;
249 if (ZEND_OP2(opline).opline_num == opline_num + 1) {
395 ZEND_OP2(opline).opline_num = ZEND_OP1(&op_array->opcodes[target]).opline_num;
[all …]
H A Dnop_removal.c29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) { in nop_removal()
31 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1; in nop_removal()
67 ZEND_OP1(opline).opline_num -= shiftlist[ZEND_OP1(opline).opline_num]; in nop_removal()
82 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num]; in nop_removal()
85 ZEND_OP2(opline).opline_num -= shiftlist[ZEND_OP2(opline).opline_num]; in nop_removal()
116 zend_uint *opline_num = &op_array->early_binding; in nop_removal() local
119 *opline_num -= shiftlist[*opline_num]; in nop_removal()
120 opline_num = &ZEND_RESULT(&op_array->opcodes[*opline_num]).opline_num; in nop_removal()
121 } while (*opline_num != (zend_uint)-1); in nop_removal()
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;
169 array_offset = ZEND_OP1(opline).opline_num;
197 ZEND_OP1(opline).opline_num = jmp_to->brk;
201 ZEND_OP1(opline).opline_num = jmp_to->cont;
H A Dblock_pass.c109 START_BLOCK_OP(ZEND_OP1(opline).opline_num); in find_code_blocks()
111 START_BLOCK_OP(ZEND_OP2(opline).opline_num); in find_code_blocks()
117 START_BLOCK_OP(ZEND_OP2(opline).opline_num); in find_code_blocks()
123 START_BLOCK_OP(ZEND_OP1(opline).opline_num); in find_code_blocks()
157 START_BLOCK_OP(ZEND_OP2(opline).opline_num); in find_code_blocks()
161 START_BLOCK_OP(ZEND_OP2(opline).opline_num); in find_code_blocks()
846 ZEND_OP2(opline).opline_num = op_t; in zend_optimize_block()
1302 zend_uint *opline_num = &op_array->early_binding; in assemble_code_blocks() local
1309 *opline_num = opline - op_array->opcodes; in assemble_code_blocks()
1310 opline_num = &ZEND_RESULT(opline).opline_num; in assemble_code_blocks()
[all …]
H A Dpass1_5.c202 …ZEND_OP1(opline + 1).opline_num = last_op - op_array->opcodes; /* that's OK even for ZE2, since op…
/PHP-5.5/Zend/
H A Dzend_opcode.c534 op_array->opcodes[op_num - 2].op2.opline_num = fast_call; in zend_adjust_fast_call()
555 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2; in zend_resolve_fast_call()
592 opline->op2.opline_num = op_array->try_catch_array[i].catch_op; in zend_resolve_finally_call()
593 opline->op1.opline_num = get_next_op_number(op_array); in zend_resolve_finally_call()
603 opline->op1.opline_num = op_array->try_catch_array[i].finally_op; in zend_resolve_finally_call()
618 opline->op1.opline_num = op_array->try_catch_array[i].finally_op; in zend_resolve_finally_call()
631 opline->op1.opline_num = start_op; in zend_resolve_finally_call()
658 op_array->opcodes[op_num].op2.opline_num = finally_op_num; in zend_resolve_finally_ret()
662 op_array->opcodes[op_num].op2.opline_num = catch_op_num; in zend_resolve_finally_ret()
686 if ((array_offset = opline->op1.opline_num) != -1) { in zend_resolve_finally_calls()
[all …]
H A Dzend_language_parser.y291 … ';' { zend_do_free(&$3 TSRMLS_CC); $4.u.op.opline_num = get_next_op_number(CG(active_op_array)); }
344 | /* empty */ { $$.u.op.opline_num = -1; }
402 T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = 0; }
403 …| T_ABSTRACT T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_EXPLICIT_ABSTRACT_CL…
404 | T_TRAIT { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_TRAIT; }
405 | T_FINAL T_CLASS { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_FINAL_CLASS; }
414 T_INTERFACE { $$.u.op.opline_num = CG(zend_lineno); $$.EA = ZEND_ACC_INTERFACE; }
837 T_FUNCTION { $$.u.op.opline_num = CG(zend_lineno); }
853 namespace_name { $$.u.op.opline_num = zend_do_begin_function_call(&$1, 1 TSRMLS_CC); }
857 …| T_NS_SEPARATOR namespace_name { $$.u.op.opline_num = zend_do_begin_function_call(&$2, 0 TSRMLS_C…
[all …]
H A Dzend_compile.c1113 opline->op1.opline_num = while_token->u.op.opline_num; in zend_do_while_end()
1143 opline->op1.opline_num = cond_start->u.op.opline_num; in zend_do_for_before_statement()
1159 opline->op1.opline_num = second_semicolon_token->u.op.opline_num+1; in zend_do_for_end()
2354 opline->op1.opline_num = dest->opline_num; in zend_resolve_goto_label()
2873 opline->op1.opline_num = finally_token->u.op.opline_num + 1; in zend_do_finally()
4673 opline_num = &CG(active_op_array)->opcodes[*opline_num].result.opline_num; in zend_do_early_binding()
4719 while (opline_num != -1) { in zend_do_delayed_early_binding()
4723 opline_num = op_array->opcodes[opline_num].result.opline_num; in zend_do_delayed_early_binding()
4813 opline->op2.opline_num = do_token->u.op.opline_num; in zend_do_do_while_end()
5710 opline->op2.opline_num = 1; in zend_do_shell_exec()
[all …]
H A Dzend_vm_def.h2099 printf("Jumping to %d\n", opline->op1.opline_num);
2126 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2156 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2222 printf("Conditional jmp to %d\n", opline->op2.opline_num);
2253 printf("Conditional jmp to %d\n", opline->op2.opline_num);
3399 ZEND_VM_JMP(EX(op_array)->opcodes + opline->op2.opline_num);
4117 ZEND_VM_JMP(EX(op_array)->opcodes+opline->op2.opline_num);
4232 ZEND_VM_JMP(EX(op_array)->opcodes+opline->op2.opline_num);
4259 ZEND_VM_JMP(EX(op_array)->opcodes+opline->op2.opline_num);
4722 printf("Conditional jmp to %d\n", opline->op2.opline_num);
[all …]
H A Dzend_compile.h82 zend_uint opline_num; /* Needs to be signed */ member
132 zend_uint opline_num; member
H A Dzend_vm_execute.h660 printf("Jumping to %d\n", opline->op1.opline_num); in ZEND_JMP_SPEC_HANDLER()
769 ZEND_VM_JMP(EX(op_array)->opcodes + opline->op2.opline_num); in ZEND_NEW_SPEC_HANDLER()
2180 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMPZ_SPEC_CONST_HANDLER()
2210 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMPNZ_SPEC_CONST_HANDLER()
2276 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMPZ_EX_SPEC_CONST_HANDLER()
2307 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMPNZ_EX_SPEC_CONST_HANDLER()
2916 ZEND_VM_JMP(EX(op_array)->opcodes+opline->op2.opline_num); in ZEND_FE_RESET_SPEC_CONST_HANDLER()
2961 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMP_SET_SPEC_CONST_HANDLER()
2995 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMP_SET_VAR_SPEC_CONST_HANDLER()
7500 printf("Conditional jmp to %d\n", opline->op2.opline_num); in ZEND_JMPZ_SPEC_TMP_HANDLER()
[all …]
H A Dzend_execute_API.c1284 opline->op1.jmp_addr = &CG(active_op_array)->opcodes[opline->op1.opline_num]; in execute_new_code()
1292 opline->op2.jmp_addr = &CG(active_op_array)->opcodes[opline->op2.opline_num]; in execute_new_code()
/PHP-5.5/ext/opcache/
H A Dzend_persist.c299 zend_uint *opline_num = &main_persistent_script->early_binding; local
301 while ((int)*opline_num != -1) {
302 opline_num = &new_opcodes[*opline_num].result.u.opline_num;
304 *opline_num = opline - new_opcodes;
306 opline->result.u.opline_num = -1;
H A Dzend_accelerator_util_funcs.c911 zend_uint opline_num = early_binding; local
913 if ((int)opline_num != -1) {
919 while ((int)opline_num != -1) {
920 …_lookup_class(Z_STRVAL(op_array->opcodes[opline_num - 1].op2.u.constant), Z_STRLEN(op_array->opcod…
921 do_bind_inherited_class(&op_array->opcodes[opline_num], EG(class_table), *pce, 1 TSRMLS_CC);
923 opline_num = op_array->opcodes[opline_num].result.u.opline_num;

Completed in 161 milliseconds