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

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h66 * Breakpoint opline num based representation
74 zend_ulong opline; member in struct:_phpdbg_breakopline_t
78 * Breakpoint opline based representation
82 zend_ulong opline; member in struct:_phpdbg_breakline_t
116 PHPDBG_API void phpdbg_set_breakpoint_opline(zend_ulong opline TSRMLS_DC);
117 PHPDBG_API void phpdbg_set_breakpoint_opline_ex(phpdbg_opline_ptr_t opline TSRMLS_DC);
118 PHPDBG_API void phpdbg_set_breakpoint_method_opline(const char *class, const char *method, zend_ulong opline TSRMLS_DC);
119 PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend_ulong opline TSRMLS_DC);
120 PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline TSRMLS_DC);
H A Dphpdbg_opcode.c151 zend_op *opline = execute_data->opline; local
152 char *decode = phpdbg_decode_opline(execute_data->op_array, opline, vars TSRMLS_CC);
157 opline->lineno,
158 opline,
159 phpdbg_decode_opcode(opline->opcode),
166 opline->lineno,
167 opline, local
168 phpdbg_decode_opcode(opline->opcode),
H A Dphpdbg_print.c34 PHPDBG_PRINT_COMMAND_D(opline, "print out the instruction in the current opline", 'o', print_opline, NULL, 0),
42 PHPDBG_PRINT(opline) /* {{{ */
61 zend_op *opline = &(op_array->opcodes[0]); local
81 char *decode = phpdbg_decode_opline(op_array, opline, &vars TSRMLS_CC);
84 opline->lineno,
85 opline,
86 phpdbg_decode_opcode(opline->opcode),
90 phpdbg_error("\tFailed to decode opline %16p", opline);
[all...]
H A Dphpdbg_print.h32 PHPDBG_PRINT(opline); variable
H A Dphpdbg_prompt.c434 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
435 zend_op *opline = &EG(active_op_array)->opcodes[self]; local
438 if (EG(active_op_array)->opcodes[next].lineno != opline->lineno) {
462 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
495 self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
1137 EX(opline) = UNEXPECTED((op_array->fn_flags & ZEND_ACC_INTERACTIVE) != 0) && EG(start_op) ? EG(start_op) : op_array->opcodes;
1138 EG(opline_ptr) = &EX(opline);
1185 /* resolve nth opline breakpoints */
1229 zend_ulong address = (zend_ulong) execute_data->opline;
1277 if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c25 zend_op *opline; member in struct:_optimizer_call_info
29 zend_op *opline = op_array->opcodes; local
30 zend_op *end = opline + op_array->last;
41 while (opline < end) {
42 switch (opline->opcode) {
45 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
47 zval *function_name = &op_array->literals[opline->op2.constant + 1];
59 call_stack[call].opline = opline;
64 if (call_stack[call].func && call_stack[call].opline) {
[all...]
H A Doptimize_temp_vars_5.c38 zend_op **start_of_T; /* opline where T is first used */
41 zend_op *opline, *end; local
54 opline = &op_array->opcodes[op_array->last - 1];
57 while (opline >= end) {
58 if (ZEND_RESULT_TYPE(opline) & (IS_VAR | IS_TMP_VAR)) {
59 start_of_T[VAR_NUM(ZEND_RESULT(opline).var) - offset] = opline;
62 if (opline->opcode == ZEND_OP_DATA &&
63 (opline-1)->opcode == ZEND_FE_FETCH &&
64 opline
[all...]
H A Dpass3.c49 zend_op *opline; variable
58 opline = op_array->opcodes;
60 while (opline < end) {
63 switch (opline->opcode) {
77 zend_op *next_opline = opline + 1;
87 if ((ZEND_OP2_TYPE(opline) == IS_VAR || ZEND_OP2_TYPE(opline) == IS_CV)
88 && ZEND_OP2(opline).var == ZEND_OP1(next_opline).var &&
89 (opline->opcode == ZEND_ADD ||
90 opline
162 MAKE_NOP(opline); variable
198 MAKE_NOP(opline); variable
256 MAKE_NOP(opline); variable
422 ZEND_RESULT_TYPE(opline) = IS_VAR | EXT_TYPE_UNUSED; variable
[all...]
H A Dblock_pass.c106 zend_op *opline; local
113 opline = op_array->opcodes;
114 blocks[0].start_opline = opline;
116 while (opline < end) {
117 switch((unsigned)opline->opcode) {
126 START_BLOCK_OP(ZEND_OP1(opline).opline_num);
127 if (opline->extended_value) {
128 START_BLOCK_OP(ZEND_OP2(opline).opline_num);
133 if (opline->extended_value) {
134 START_BLOCK_OP(ZEND_OP2(opline)
538 zend_op *opline = block->start_opline; local
583 zend_op *opline = block->start_opline; local
1170 zend_op *opline = new_opcodes; local
1811 zend_op *opline = next_block->start_opline; local
1850 zend_op *opline = block->start_opline + block->len - 1; local
[all...]
H A Dcompact_literals.c109 zend_op *opline, *end; local
124 opline = op_array->opcodes;
125 end = opline + op_array->last;
126 while (opline < end) {
127 switch (opline->opcode) {
129 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 1);
132 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
133 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 2);
137 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 3);
140 if (ZEND_OP2_TYPE(opline)
[all...]
H A Dnop_removal.c28 zend_op *end, *opline; local
37 for (opline = op_array->opcodes; opline < end; opline++) {
40 if (opline->opcode == ZEND_GOTO &&
41 Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_INT) {
48 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
50 zend_op *target = op_array->opcodes + ZEND_OP1(opline).opline_num - 1;
55 if (target == opline) {
[all...]
H A Dpass1_5.c34 zend_op *opline = op_array->opcodes; variable
35 zend_op *end = opline + op_array->last;
38 while (opline < end) {
39 switch (opline->opcode) {
59 if (ZEND_OP1_TYPE(opline) == IS_CONST &&
60 ZEND_OP2_TYPE(opline) == IS_CONST) {
62 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
63 zend_uint tv = ZEND_RESULT(opline).var; /* temporary variable */
67 if (opline->opcode == ZEND_DIV &&
68 Z_TYPE(ZEND_OP2_LITERAL(opline))
83 MAKE_NOP(opline); variable
118 MAKE_NOP(opline); variable
149 MAKE_NOP(opline); variable
244 MAKE_NOP(opline); variable
264 MAKE_NOP(opline); variable
325 MAKE_NOP(opline); variable
384 MAKE_NOP(opline); variable
417 MAKE_NOP(opline); variable
432 MAKE_NOP(opline); variable
446 MAKE_NOP(opline); variable
461 MAKE_NOP(opline); variable
477 MAKE_NOP(opline); variable
490 MAKE_NOP(opline); variable
578 MAKE_NOP(opline); variable
583 MAKE_NOP(opline); variable
[all...]
H A Dpass2.c29 zend_op *opline; variable
32 opline = op_array->opcodes;
33 while (opline < end) {
34 switch (opline->opcode) {
39 if (ZEND_OP1_TYPE(opline) == IS_CONST) {
40 if (Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING) {
41 convert_scalar_to_number(&ZEND_OP1_LITERAL(opline) TSRMLS_CC);
49 if (opline->extended_value != 0) {
53 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
54 if (Z_TYPE(ZEND_OP2_LITERAL(opline))
133 ZEND_OP1_TYPE(opline) = IS_UNUSED; variable
138 MAKE_NOP(opline); variable
147 MAKE_NOP(opline); variable
170 ZEND_OP1_TYPE(opline) = IS_UNUSED; variable
216 MAKE_NOP(opline); variable
220 MAKE_NOP(opline); variable
[all...]
H A Dzend_optimizer.c82 zend_op *opline = op_array->opcodes; local
83 zend_op *end = opline + op_array->last;
84 while (opline < end) {
85 if (opline->op1_type & (IS_TMP_VAR|IS_VAR)) {
86 opline->op1.var += sizeof(zval);
88 if (opline->op2_type & (IS_TMP_VAR|IS_VAR)) {
89 opline->op2.var += sizeof(zval);
91 if (opline->result_type & (IS_TMP_VAR|IS_VAR)) {
92 opline->result.var += sizeof(zval);
94 if (opline
140 update_op1_const(zend_op_array *op_array, zend_op *opline, zval *val TSRMLS_DC) argument
173 update_op2_const(zend_op_array *op_array, zend_op *opline, zval *val TSRMLS_DC) argument
291 replace_var_by_const(zend_op_array *op_array, zend_op *opline, zend_uint var, zval *val TSRMLS_DC) argument
345 replace_tmp_by_const(zend_op_array *op_array, zend_op *opline, zend_uint var, zval *val TSRMLS_DC) argument
464 zend_op *opline, *end; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend.c1038 zend_op *opline; local
1048 opline = NULL;
1052 if (ex && ex->opline->opcode == ZEND_HANDLE_EXCEPTION &&
1054 opline = EG(opline_before_exception);
1058 if (opline) {
1059 ex->opline = opline;
1251 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL &&
1252 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) {
H A Dzend_compile.c574 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
576 opline->opcode = op;
577 opline->result_type = IS_TMP_VAR;
578 opline->result.var = get_temporary_variable(CG(active_op_array));
579 SET_NODE(opline->op1, op1);
580 SET_NODE(opline->op2, op2);
581 GET_NODE(result, opline->result);
587 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
589 opline->opcode = op;
590 opline
611 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
651 zend_op opline; local
713 zend_op opline; local
794 zend_op opline; local
836 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
849 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
873 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
908 zend_op *opline; local
1006 zend_op *opline; local
1074 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1088 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1108 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1119 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1135 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1152 zend_op *opline; local
1179 zend_op *opline; local
1206 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1219 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1280 zend_op *opline = NULL; local
1370 zend_op *opline; local
1403 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1423 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1429 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; local
1681 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1728 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1792 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
1836 zend_op *opline; local
1957 zend_op *opline; local
2033 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2052 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2066 zend_op *opline; local
2302 zend_op *opline; local
2367 zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC) argument
2429 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
2435 zend_resolve_goto_label(CG(active_op_array), opline, 0 TSRMLS_CC); local
2488 zend_op *opline; local
2542 zend_do_convert_call(zend_op *init_opline, zend_op *opline, zend_int_t num_args, zend_function **func_ptr TSRMLS_DC) argument
2598 zend_op *opline = init_opline + 1; local
2655 zend_op *opline = init_opline + 1; local
2708 zend_op *opline = init_opline + 1; local
2756 zend_op *opline = init_opline + 1; local
2806 zend_op *opline = init_opline + 1; local
2834 zend_op *opline; local
2972 zend_op *opline; local
3094 zend_op *opline; local
3109 zend_op *opline; local
3127 zend_op *opline; local
3146 zend_op *opline; local
3206 zend_op *opline; local
3276 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
3318 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
3341 zend_op *opline; local
3373 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
3401 zend_op *opline; local
3421 zend_op *opline; local
4972 do_bind_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time TSRMLS_DC) argument
5073 do_bind_class(const zend_op_array* op_array, const zend_op *opline, HashTable *class_table, zend_bool compile_time TSRMLS_DC) argument
5110 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
5157 zend_op *opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1]; local
5251 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5271 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5286 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5306 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5327 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5342 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5378 zend_op *opline; local
5419 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5455 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5476 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5496 zend_op *opline; local
5608 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
5645 zend_op *opline; local
5680 zend_op *opline; local
5712 zend_op *opline; local
5875 zend_op opline; local
5983 zend_op *opline; local
6068 zend_op *opline; local
6182 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6220 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6255 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6284 zend_op *opline; local
6454 zend_op *opline; local
6547 zend_op *opline; local
6618 zend_op *opline; local
6661 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6677 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6717 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
6794 zend_op *opline; local
6821 zend_op *opline; local
6882 zend_op *opline; local
6972 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7073 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7086 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7099 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7110 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7133 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7163 zend_op *opline; local
7179 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7206 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7234 zend_op *opline; local
7250 zend_op *opline; local
7266 zend_op *opline; local
7282 zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC); local
7772 zend_op *opline; local
[all...]
H A Dzend_compile.h366 struct _zend_op *opline; /* executed opline */ member in struct:_zend_execute_data
523 ZEND_API int do_bind_function(const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time TSRMLS_DC);
524 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);
525 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);
646 void zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 TSRMLS_DC);
H A Dzend_execute.c65 #define RETURN_VALUE_USED(opline) (!((opline)->result_type & EXT_TYPE_UNUSED))
102 #define SELECTIVE_PZVAL_LOCK(pzv, opline) if (RETURN_VALUE_USED(opline)) { PZVAL_LOCK(pzv); }
567 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given, called in %s on line %d and defined", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind, ptr->func->op_array.filename->val, ptr->opline->lineno);
666 zend_verify_missing_arg_type(EX(func), arg_num, EX(opline)->extended_value TSRMLS_CC)) {
673 zend_error(E_WARNING, "Missing argument %u for %s%s%s(), called in %s on line %d and defined", arg_num, class_name, space, func_name, ptr->func->op_array.filename->val, ptr->opline->lineno);
1565 EX(opline) = op_array->opcodes;
1568 EX(opline) += MIN(EX(num_args), op_array->required_num_args);
1628 EX(opline)
1763 zend_is_by_ref_func_arg_fetch(zend_op *opline, zend_execute_data *call TSRMLS_DC) argument
[all...]
H A Dzend_opcode.c430 zend_op *opline = op_array->opcodes, *end=opline+op_array->last; local
432 while (opline<end) {
433 if (opline->opcode == ZEND_EXT_STMT) {
434 if (opline+1<end) {
435 if ((opline+1)->opcode == ZEND_EXT_STMT) {
436 opline->opcode = ZEND_NOP;
437 opline++;
440 if (opline+1<end) {
441 opline
529 zend_op *opline; local
635 zend_op *opline; local
688 zend_op *opline, *end; local
[all...]
H A Dzend_vm_def.h34 fast_add_function(EX_VAR(opline->result.var),
49 fast_sub_function(EX_VAR(opline->result.var),
64 fast_mul_function(EX_VAR(opline->result.var),
79 fast_div_function(EX_VAR(opline->result.var),
94 fast_mod_function(EX_VAR(opline->result.var),
109 shift_left_function(EX_VAR(opline->result.var),
124 shift_right_function(EX_VAR(opline->result.var),
139 concat_function(EX_VAR(opline->result.var),
154 fast_is_identical_function(EX_VAR(opline->result.var),
167 zval *result = EX_VAR(opline
1812 zend_op *opline = EX(opline); local
1910 ZEND_VM_JMP(opline); variable
1941 ZEND_VM_JMP(opline); variable
1972 ZEND_VM_JMP(opline); variable
2007 ZEND_VM_JMP(opline); variable
2041 ZEND_VM_JMP(opline); 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);
405 if (UNEXPECTED(EG(exception) != NULL) && (EX(opline)->op1.num & ZEND_CALL_CTOR)) {
406 if (!(EX(opline)->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
423 zend_op *opline = EX(opline); local
425 if (RETURN_VALUE_USED(opline)) {
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c333 zend_op *opline = new_opcodes; local
337 for (; opline < end ; opline++, offset++) {
338 if (ZEND_OP1_TYPE(opline) == IS_CONST) {
339 opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals));
341 if (ZEND_OP2_TYPE(opline) == IS_CONST) {
342 opline->op2.zv = (zval*)((char*)opline->op2.zv + ((char*)op_array->literals - (char*)orig_literals));
347 switch (opline
[all...]

Completed in 59 milliseconds