/PHP-5.6/ext/opcache/Optimizer/ |
H A D | pass3.c | 42 switch (opline->opcode) { 209 } else if (op_array->opcodes[target].opcode == opline->opcode && 215 } else if (op_array->opcodes[target].opcode == opline->opcode + 3 && 222 } else if (op_array->opcodes[target].opcode == INV_COND(opline->opcode) && 228 } else if (op_array->opcodes[target].opcode == INV_COND_EX(opline->opcode) && 233 opline->opcode += 3; 269 if (SAME_OPCODE_EX(opline->opcode, op_array->opcodes[target].opcode) && 272 if (op_array->opcodes[target].opcode == opline->opcode) { 290 } else if ((op_array->opcodes[target].opcode == INV_EX_COND_EX(opline->opcode) || 291 op_array->opcodes[target].opcode == INV_EX_COND(opline->opcode)) && [all …]
|
H A D | block_pass.c | 676 opline->opcode != ZEND_CASE && opline->opcode != ZEND_FREE) { in zend_optimize_block() 689 if ((opline->opcode == ZEND_ECHO || opline->opcode == ZEND_PRINT) && in zend_optimize_block() 800 opline->opcode = in zend_optimize_block() 807 opline->opcode = in zend_optimize_block() 1517 } else if (target->opcode == INV_COND(last_op->opcode) && in zend_jmp_optimization() 1528 } else if (target->opcode == INV_COND_EX(last_op->opcode) && in zend_jmp_optimization() 1541 target->opcode == last_op->opcode && in zend_jmp_optimization() 1666 target->opcode == last_op->opcode-3 && in zend_jmp_optimization() 1675 target->opcode == INV_EX_COND(last_op->opcode) && in zend_jmp_optimization() 1684 target->opcode == INV_EX_COND_EX(last_op->opcode) && in zend_jmp_optimization() [all …]
|
H A D | pass2.c | 13 switch (opline->opcode) { 88 opline->opcode -= 3; 93 if (opline->opcode == ZEND_JMPZ_EX) { 97 opline->opcode = ZEND_QM_ASSIGN; 108 if (opline->opcode == ZEND_JMPZ) { 114 opline->opcode = ZEND_JMP; 128 if (opline->opcode == ZEND_JMPZ) { 134 opline->opcode = ZEND_JMPZNZ; 151 opline->opcode = ZEND_JMP; 194 switch (opline->opcode) { [all …]
|
H A D | optimize_temp_vars_5.c | 98 if (!(op_const_means_class[opline->opcode] & RESULT_IS_UNUSED)) { 119 …|| ((op_const_means_class[opline->opcode] & OP1_CONST_IS_CLASS) && ZEND_OP1_TYPE(opline) == IS_CON… 132 if (opline->opcode == ZEND_OP_DATA && 133 (opline-1)->opcode == ZEND_ASSIGN_DIM) { 140 …|| ((op_const_means_class[opline->opcode] & OP2_CONST_IS_CLASS) && ZEND_OP2_TYPE(opline) == IS_CON… 153 if ((op_const_means_class[opline->opcode] & EXT_CONST_IS_CLASS)) { 155 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS || 156 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) { 168 if (opline->opcode == ZEND_ASSIGN_DIM && 169 (opline + 1)->opcode == ZEND_OP_DATA && [all …]
|
H A D | optimize_func_calls.c | 23 switch (opline->opcode) { in optimize_func_calls() 54 opline->opcode = ZEND_DO_FCALL; in optimize_func_calls() 59 if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) { in optimize_func_calls() 65 call_stack[call].opline->opcode == ZEND_INIT_FCALL_BY_NAME && in optimize_func_calls() 70 opline->opcode = ZEND_DO_FCALL; in optimize_func_calls() 86 opline->opcode -= 9; in optimize_func_calls() 89 opline->opcode -= 12; in optimize_func_calls() 106 opline->opcode = ZEND_SEND_REF; in optimize_func_calls() 118 opline->opcode = ZEND_SEND_VAR; in optimize_func_calls()
|
H A D | zend_optimizer.c | 146 if (opline->opcode == ZEND_FREE) { in update_op1_const() 153 switch (opline->opcode) { in update_op1_const() 193 switch (opline->opcode) { in update_op2_const() 314 switch (opline->opcode) { in replace_var_by_const() 333 opline->opcode = ZEND_SEND_VAL; in replace_var_by_const() 350 if (m->opcode == ZEND_CASE) { in replace_var_by_const() 380 switch (opline->opcode) { in replace_var_by_const() 413 if (opline->opcode == ZEND_CASE || opline->opcode == ZEND_FREE) { in replace_tmp_by_const() 436 if (m->opcode == ZEND_CASE) { in replace_tmp_by_const() 559 switch (opline->opcode) { in zend_accel_optimize() [all …]
|
H A D | nop_removal.c | 20 if (opline->opcode == ZEND_GOTO && in nop_removal() 29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) { in nop_removal() 33 while (target->opcode == ZEND_NOP) { in nop_removal() 38 opline->opcode = ZEND_NOP; in nop_removal() 43 if (opline->opcode == ZEND_NOP) { in nop_removal() 59 switch (opline->opcode) { in nop_removal()
|
H A D | pass1_5.c | 23 switch (opline->opcode) { 53 if (opline->opcode == ZEND_DIV && 112 opline->opcode = ZEND_BOOL; 161 while (next_op->opcode == ZEND_ADD_STRING || next_op->opcode == ZEND_ADD_CHAR) { 165 if (next_op->opcode == ZEND_ADD_CHAR) { 185 opline->opcode = ZEND_ADD_STRING; 198 if (next_op->opcode == ZEND_ADD_STRING) { 212 (opline + 1)->opcode = ZEND_JMP; 347 (opline-1)->opcode == ZEND_SEND_VAL && 351 (opline-2)->opcode == ZEND_SEND_VAL && [all …]
|
/PHP-5.6/Zend/ |
H A D | zend_vm_opcodes.c | 195 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { in zend_get_opcode_name() argument 196 return zend_vm_opcodes_map[opcode]; in zend_get_opcode_name()
|
H A D | README.ZEND_VM | 4 ZEND_VM architecture allows specializing opcode handlers according to op_type 13 find opcode handlers and helpers. The typical opcode handler template looks 21 <OPCODE-NUMBER> is a opcode number (0, 1, ...) 22 <OPCODE> is an opcode name (ZEN_NOP, ZEND_ADD, :) 28 same as in old zend_execute.c, but now it uses macros to access opcode operands 90 zend_vm_execute.h. The first file is a list of opcode definitions. It is 95 different opcode threading model using --with-vm-kind=CALL|SWITCH|GOTO. You can 96 disable opcode specialization using --without-specializer. You can include or
|
H A D | zend_compile.c | 588 opline->opcode = op; in zend_do_binary_op() 601 opline->opcode = op; in zend_do_unary_op() 630 last_op->opcode = op; in zend_do_binary_assign_op() 652 opline->opcode = op; in zend_do_binary_assign_op() 1196 opline->opcode = op; in zend_do_pre_incdec() 1223 opline->opcode = op; in zend_do_post_incdec() 1465 …while (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END || opline->opcod… in zend_do_free() 1904 opline->opcode = op; in zend_do_receive_param() 2729 opline->opcode = op; in zend_do_pass_param() 3470 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) in zend_get_function_declaration() [all …]
|
H A D | zend_opcode.c | 467 if (opline->opcode == ZEND_EXT_STMT) { in zend_update_extended_info() 470 opline->opcode = ZEND_NOP; in zend_update_extended_info() 478 opline->opcode = ZEND_NOP; in zend_update_extended_info() 584 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call() 596 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call() 615 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call() 628 opline->opcode = ZEND_JMP; in zend_resolve_finally_call() 673 switch (opline->opcode) { in zend_resolve_finally_calls() 759 switch (opline->opcode) { in pass_two() 807 switch (opcode) { in get_unary_op() [all …]
|
H A D | zend_vm.h | 27 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
|
/PHP-5.6/ext/xml/tests/ |
H A D | bug30266.phpt | 2 Bug #30266 (Invalid opcode 137/1/8) 13 Fatal error: Invalid opcode 137/1/8. in /home/hartmut/projects/php/dev/head/ext/xml/tests/bug30266.…
|
/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 82 switch (op->opcode) { in phpdbg_decode_opline() 159 phpdbg_decode_opcode(opline->opcode), in phpdbg_print_opline_ex() 168 phpdbg_decode_opcode(opline->opcode), in phpdbg_print_opline_ex() 184 const char *phpdbg_decode_opcode(zend_uchar opcode) /* {{{ */ in phpdbg_decode_opcode() argument 188 switch (opcode) { in phpdbg_decode_opcode() 365 const char *ret = zend_get_opcode_name(opcode); in phpdbg_decode_opcode()
|
/PHP-5.6/Zend/tests/ |
H A D | bug32833.phpt | 2 Bug #32833 (Invalid opcode with $a[] .= '')
|
H A D | bug33318.phpt | 2 Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
|
H A D | bug41351.phpt | 2 Bug #41351 (Invalid opcode with foreach ($a[] as $b))
|
H A D | bug41351_2.phpt | 2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 2
|
H A D | bug41351_3.phpt | 2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 3
|
H A D | bug70958.phpt | 2 Bug #70958 (Invalid opcode while using ::class as trait method paramater default value)
|
H A D | bug34064.phpt | 2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
|
/PHP-5.6/ext/pcre/pcrelib/ |
H A D | pcre_jit_compile.c | 7051 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath() 7068 else if (opcode == OP_ONCE || opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath() 7109 if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath() 7272 if (opcode == OP_COND || opcode == OP_SCOND) in compile_bracket_matchingpath() 7810 if (*opcode >= OP_STAR && *opcode <= OP_POSUPTO) in get_iterator_parameters() 7841 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters() 7878 if (*opcode == OP_UPTO || *opcode == OP_MINUPTO || *opcode == OP_EXACT || *opcode == OP_POSUPTO) in get_iterator_parameters() 7972 if (opcode == OP_STAR || opcode == OP_UPTO) in compile_iterator_matchingpath() 8219 if (opcode == OP_PRUNE_ARG || opcode == OP_SKIP_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath() 8909 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_backtrackingpath() [all …]
|
/PHP-5.6/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeTILEGX_64.c | 385 #define PB2(opcode, dst, src) \ argument 530 opcode = &tilegx_opcodes[opc]; in insert_nop() 531 inst_buf[0].opcode = opcode; in insert_nop() 542 inst_buf[0].opcode->pipes, in compute_format() 543 inst_buf[1].opcode->pipes, in compute_format() 610 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit() local 750 inst_buf[inst_buf_index].opcode = opcode; in push_4_buffer() 770 inst_buf[inst_buf_index].opcode = opcode; in push_3_buffer() 831 inst_buf[inst_buf_index].opcode = opcode; in push_2_buffer() 876 inst_buf[inst_buf_index].opcode = opcode; in push_0_buffer() [all …]
|
/PHP-5.6/ext/opcache/tests/ |
H A D | bug70237.phpt | 2 Bug #70237 (Empty while and do-while segmentation fault with opcode on CLI enabled)
|