Searched defs:opline (Results 1 - 17 of 17) sorted by relevance

/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_php_trace.c107 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, opline), &l)) {
112 long opline = l; local
115 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) {
/PHP_5_5/ext/opcache/Optimizer/
H A Dnop_removal.c7 zend_op *end, *opline; local
16 for (opline = op_array->opcodes; opline < end; opline++) {
20 if (opline->opcode == ZEND_GOTO &&
21 Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_LONG) {
29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
31 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1;
36 if (target == opline) {
[all...]
H A Doptimize_temp_vars_5.c77 zend_op **start_of_T; /* opline where T is first used */
80 zend_op *opline, *end; local
92 opline = &op_array->opcodes[op_array->last - 1];
95 while (opline >= end) {
97 if (ZEND_RESULT_TYPE(opline) & (IS_VAR | IS_TMP_VAR | IS_CONST)) {
98 if (!(op_const_means_class[opline->opcode] & RESULT_IS_UNUSED)) {
99 start_of_T[VAR_NUM(ZEND_RESULT(opline).var)] = opline;
103 if (ZEND_RESULT_TYPE(opline) & (IS_VAR | IS_TMP_VAR)) {
104 start_of_T[VAR_NUM(ZEND_RESULT(opline)
[all...]
H A Dpass3.c28 zend_op *opline; variable
37 opline = op_array->opcodes;
39 while (opline < end) {
42 switch (opline->opcode) {
55 zend_op *next_opline = opline + 1;
65 if ((ZEND_OP2_TYPE(opline) == IS_VAR || ZEND_OP2_TYPE(opline) == IS_CV)
66 && ZEND_OP2(opline).var == ZEND_OP1(next_opline).var &&
67 (opline->opcode == ZEND_ADD ||
68 opline
143 MAKE_NOP(opline); variable
189 MAKE_NOP(opline); variable
251 MAKE_NOP(opline); variable
427 ZEND_RESULT_TYPE(opline) = IS_VAR | EXT_TYPE_UNUSED; variable
429 ZEND_RESULT_TYPE(opline) = IS_VAR; variable
[all...]
H A Dpass1_5.c11 zend_op *opline = op_array->opcodes; variable
12 zend_op *end = opline + op_array->last;
14 while (opline < end) {
15 switch (opline->opcode) {
34 if (ZEND_OP1_TYPE(opline) == IS_CONST &&
35 ZEND_OP2_TYPE(opline) == IS_CONST) {
37 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
38 zend_uint tv = ZEND_RESULT(opline).var; /* temporary variable */
42 if (opline->opcode == ZEND_DIV &&
43 Z_TYPE(ZEND_OP2_LITERAL(opline))
61 MAKE_NOP(opline); variable
96 MAKE_NOP(opline); variable
130 MAKE_NOP(opline); variable
225 MAKE_NOP(opline); variable
244 MAKE_NOP(opline); variable
262 MAKE_NOP(opline); variable
321 MAKE_NOP(opline); variable
327 MAKE_NOP(opline); variable
[all...]
H A Dblock_pass.c85 zend_op *opline; local
92 opline = op_array->opcodes;
93 blocks[0].start_opline = opline;
95 while (opline < end) {
96 switch((unsigned)opline->opcode) {
109 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
110 if (opline->extended_value) {
111 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
116 if (opline->extended_value) {
117 START_BLOCK_OP(ZEND_OP2(opline)
563 zend_op *opline = block->start_opline; local
608 zend_op *opline = block->start_opline; local
1192 zend_op *opline = new_opcodes; local
1882 zend_op *opline = next_block->start_opline; local
1920 zend_op *opline = block->start_opline + block->len - 1; local
[all...]
H A Dzend_optimizer.c115 zend_op *opline,
118 if (opline->opcode == ZEND_FREE) {
119 MAKE_NOP(opline);
122 ZEND_OP1_TYPE(opline) = IS_CONST;
125 switch (opline->opcode) {
129 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC);
130 Z_HASH_P(&ZEND_OP1_LITERAL(opline)) = zend_hash_func(Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN(ZEND_OP1_LITERAL(opline)) + 1);
131 op_array->literals[opline
114 update_op1_const(zend_op_array *op_array, zend_op *opline, zval *val TSRMLS_DC) argument
156 update_op2_const(zend_op_array *op_array, zend_op *opline, zval *val TSRMLS_DC) argument
275 replace_tmp_by_const(zend_op_array *op_array, zend_op *opline, zend_uint var, zval *val TSRMLS_DC) argument
[all...]
H A Dpass2.c8 zend_op *opline; variable
11 opline = op_array->opcodes;
12 while (opline < end) {
13 switch (opline->opcode) {
18 if (ZEND_OP1_TYPE(opline) == IS_CONST) {
19 if (ZEND_OP1_LITERAL(opline).type == IS_STRING) {
20 convert_scalar_to_number(&ZEND_OP1_LITERAL(opline) TSRMLS_CC);
28 if (opline->extended_value != 0) {
32 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
33 if (ZEND_OP2_LITERAL(opline)
112 ZEND_OP1_TYPE(opline) = IS_UNUSED; variable
117 MAKE_NOP(opline); variable
126 MAKE_NOP(opline); variable
150 ZEND_OP1_TYPE(opline) = IS_UNUSED; variable
196 MAKE_NOP(opline); variable
200 MAKE_NOP(opline); variable
[all...]
/PHP_5_5/ext/opcache/
H A Dzend_persist.c248 zend_op *opline = new_opcodes; local
252 for (; opline < end ; opline++, offset++) {
253 if (ZEND_OP1_TYPE(opline) == IS_CONST) {
255 opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals));
257 zend_persist_zval(&opline->op1.u.constant TSRMLS_CC);
258 zend_protect_zval(&opline->op1.u.constant TSRMLS_CC);
261 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
263 opline
[all...]
H A Dzend_persist_calc.c156 zend_op *opline = op_array->opcodes; local
160 while (opline<end) {
161 if (opline->op1.op_type == IS_CONST) {
162 ADD_SIZE(zend_persist_zval_calc(&opline->op1.u.constant TSRMLS_CC));
164 if (opline->op2.op_type == IS_CONST) {
165 ADD_SIZE(zend_persist_zval_calc(&opline->op2.u.constant TSRMLS_CC));
167 opline++;
H A DZendAccelerator.c1826 zend_op *opline = *EG(opline_ptr); local
1828 if (opline->opcode == ZEND_INCLUDE_OR_EVAL &&
1829 (opline->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE ||
1830 opline->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE)) {
1839 if (opline->op1.op_type == IS_CONST) {
1840 filename_len = Z_STRLEN(opline->op1.u.constant);
1857 ZCG(cache_opline) = opline;
1871 ZCG(cache_opline) = opline;
1895 ZCG(cache_opline) = opline;
/PHP_5_5/Zend/
H A Dzend_opcode.c459 zend_op *opline = op_array->opcodes, *end=opline+op_array->last; local
461 while (opline<end) {
462 if (opline->opcode == ZEND_EXT_STMT) {
463 if (opline+1<end) {
464 if ((opline+1)->opcode == ZEND_EXT_STMT) {
465 opline->opcode = ZEND_NOP;
466 opline++;
469 if (opline+1<end) {
470 opline
558 zend_op *opline; local
664 zend_op *opline; local
717 zend_op *opline, *end; local
[all...]
H A Dzend_vm_def.h34 fast_add_function(&EX_T(opline->result.var).tmp_var,
49 fast_sub_function(&EX_T(opline->result.var).tmp_var,
64 fast_mul_function(&EX_T(opline->result.var).tmp_var,
79 fast_div_function(&EX_T(opline->result.var).tmp_var,
94 fast_mod_function(&EX_T(opline->result.var).tmp_var,
109 shift_left_function(&EX_T(opline->result.var).tmp_var,
124 shift_right_function(&EX_T(opline->result.var).tmp_var,
139 concat_function(&EX_T(opline->result.var).tmp_var,
154 is_identical_function(&EX_T(opline->result.var).tmp_var,
167 zval *result = &EX_T(opline
4862 do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->extended_value).class_entry, 0 TSRMLS_CC); variable
4873 do_bind_function(EX(op_array), opline, EG(function_table), 0); variable
[all...]
H A Dzend_vm_execute.h317 #define OPLINE EX(opline)
319 #define USE_OPLINE zend_op *opline = EX(opline);
333 #define ZEND_VM_DISPATCH(opcode, opline) return zend_vm_get_opcode_handler(opcode, opline)(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU);
416 if (UNEXPECTED(opline->opcode == ZEND_INCLUDE_OR_EVAL)) {
421 EG(opline_ptr) = &EX(opline);
434 EG(opline_ptr) = &EX(opline);
466 if (RETURN_VALUE_USED(opline) && EX_T(opline
898 do_bind_inherited_class(EX(op_array), opline, EG(class_table), EX_T(opline->extended_value).class_entry, 0 TSRMLS_CC); local
909 do_bind_function(EX(op_array), opline, EG(function_table), 0); local
[all...]
H A Dzend_compile.h385 struct _zend_op *opline; member in struct:_zend_execute_data
527 ZEND_API int do_bind_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time);
528 ZEND_API zend_class_entry *do_bind_class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC);
529 ZEND_API zend_class_entry *do_bind_inherited_class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC);
645 void zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC);
H A Dzend_execute_API.c69 fprintf(stderr, "SIGSEGV caught on opcode %d on opline %d of %s() at %s:%d\n\n",
763 EX(opline) = NULL;
1246 zend_op *opline, *end; local
1267 opline=EG(start_op);
1270 while (opline<end) {
1271 if (opline->op1_type == IS_CONST) {
1272 opline->op1.zv = &CG(active_op_array)->literals[opline->op1.constant].constant;
1274 if (opline->op2_type == IS_CONST) {
1275 opline
1280 zend_resolve_goto_label(CG(active_op_array), opline, 1 TSRMLS_CC); local
[all...]
H A Dzend_compile.c578 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
580 opline->opcode = op;
581 opline->result_type = IS_TMP_VAR;
582 opline->result.var = get_temporary_variable(CG(active_op_array));
583 SET_NODE(opline->op1, op1);
584 SET_NODE(opline->op2, op2);
585 GET_NODE(result, opline->result);
591 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
593 opline->opcode = op;
594 opline
615 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
655 zend_op opline; local
722 zend_op opline; local
805 zend_op opline; local
853 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
866 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
890 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
925 zend_op *opline; local
1027 zend_op *opline; local
1095 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1109 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1129 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1140 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1156 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1173 zend_op *opline; local
1200 zend_op *opline; local
1227 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1240 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1302 zend_op *opline = NULL; local
1396 zend_op *opline; local
1429 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1449 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1455 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; local
1697 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1729 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1795 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1839 zend_op *opline; local
2009 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2032 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2046 zend_op *opline; local
2260 zend_op *opline; local
2328 zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC) argument
2390 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2396 zend_resolve_goto_label(CG(active_op_array), opline, 0 TSRMLS_CC); local
2449 zend_op *opline; local
2508 zend_op *opline; local
2549 zend_op *opline; local
2660 zend_op *opline; local
2678 zend_op *opline; local
2697 zend_op *opline; local
2755 zend_op *opline; local
2825 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2867 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2890 zend_op *opline; local
2922 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2950 zend_op *opline; local
2970 zend_op *opline; local
4427 do_bind_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time) argument
4529 do_bind_class(const zend_op_array* op_array, const zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC) argument
4568 do_bind_inherited_class(const zend_op_array *op_array, const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC) argument
4618 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; local
4712 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4732 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4747 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4767 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4788 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4803 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4839 zend_op *opline; local
4882 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4920 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4941 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
4963 zend_op *opline; local
5079 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5116 zend_op *opline; local
5151 zend_op *opline; local
5183 zend_op *opline; local
5362 zend_op opline; local
5477 zend_op *opline; local
5570 zend_op *opline; local
5677 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5718 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5753 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5863 zend_op *opline; local
5956 zend_op *opline; local
6034 zend_op *opline; local
6068 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6084 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6123 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6200 zend_op *opline; local
6227 zend_op *opline; local
6291 zend_op *opline; local
6381 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6484 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6498 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6511 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6522 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6545 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6575 zend_op *opline; local
6591 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6618 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6646 zend_op *opline; local
6662 zend_op *opline; local
6678 zend_op *opline; local
6694 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7084 zend_op *opline; local
[all...]

Completed in 45 milliseconds