Changeset 266
- Timestamp:
- 08/23/06 16:44:46 (2 years ago)
- Files:
-
- eaccelerator/branches/0.9.5/ChangeLog (modified) (1 diff)
- eaccelerator/branches/0.9.5/eaccelerator.h (modified) (1 diff)
- eaccelerator/branches/0.9.5/optimize.c (modified) (3 diffs)
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/eaccelerator.h (modified) (1 diff)
- eaccelerator/trunk/optimize.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/branches/0.9.5/ChangeLog
r264 r266 1 2006-08-23 Hans Rakers <hans at parse dot nl> 2 3 * Fixes for tickets #157 and #164 4 1 5 2006-08-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 6 eaccelerator/branches/0.9.5/eaccelerator.h
r237 r266 108 108 #endif 109 109 110 #if !defined(ssize_t) && ZEND_WIN32 111 /* define ssize_t for Win32. */ 112 #define ssize_t int 113 #endif 114 110 115 #ifdef HAVE_EACCELERATOR 111 116 #ifndef HAVE_EACCELERATOR_STANDALONE_LOADER eaccelerator/branches/0.9.5/optimize.c
r201 r266 2832 2832 op->op1.u.opline_num = jmp_to->brk; 2833 2833 op->op2.op_type = IS_UNUSED; 2834 op->extended_value = ZEND_BRK; /* Mark the opcode as former ZEND_BRK */ 2834 2835 bb[op->op1.u.opline_num].start = &op_array->opcodes[jmp_to->brk]; 2835 2836 } … … 2871 2872 op->op1.u.opline_num = jmp_to->cont; 2872 2873 op->op2.op_type = IS_UNUSED; 2874 op->extended_value = ZEND_CONT; /* Mark the opcode as former ZEND_CONT */ 2873 2875 bb[op->op1.u.opline_num].start = &op_array->opcodes[jmp_to->cont]; 2874 2876 } … … 2972 2974 case ZEND_JMP: 2973 2975 p->jmp_1 = &bb[op->op1.u.opline_num]; 2976 #ifdef ZEND_ENGINE_2 2977 if (op->extended_value == ZEND_BRK || op->extended_value == ZEND_CONT) 2978 { 2979 /* This was a ZEND_BRK or ZEND_CONT opcode changed into a ZEND_JMP in an earlier stage. 2980 see comment above ZEND_BRK/ZEND_CONT below */ 2981 p->follow = (innermost_ketchup > 0) ? &bb[innermost_ketchup] : &bb[len-1]; 2982 /* clear extended_value again just for tidyness :) */ 2983 op->extended_value = 0; 2984 } 2985 #endif 2974 2986 break; 2975 2987 case ZEND_JMPZNZ: eaccelerator/trunk/ChangeLog
r263 r266 1 2006-08-23 Hans Rakers <hans at parse dot nl> 2 3 * Fixes for tickets #157 and #164 4 1 5 2006-08-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 6 eaccelerator/trunk/eaccelerator.h
r265 r266 112 112 #endif 113 113 114 #if !defined(ssize_t) && ZEND_WIN32 115 /* define ssize_t for Win32. */ 116 #define ssize_t int 117 #endif 118 114 119 #ifdef HAVE_EACCELERATOR 115 120 eaccelerator/trunk/optimize.c
r265 r266 2822 2822 op->op1.u.opline_num = jmp_to->brk; 2823 2823 op->op2.op_type = IS_UNUSED; 2824 op->extended_value = ZEND_BRK; /* Mark the opcode as former ZEND_BRK */ 2824 2825 bb[op->op1.u.opline_num].start = &op_array->opcodes[jmp_to->brk]; 2825 2826 } … … 2861 2862 op->op1.u.opline_num = jmp_to->cont; 2862 2863 op->op2.op_type = IS_UNUSED; 2864 op->extended_value = ZEND_CONT; /* Mark the opcode as former ZEND_CONT */ 2863 2865 bb[op->op1.u.opline_num].start = &op_array->opcodes[jmp_to->cont]; 2864 2866 } … … 2962 2964 case ZEND_JMP: 2963 2965 p->jmp_1 = &bb[op->op1.u.opline_num]; 2966 #ifdef ZEND_ENGINE_2 2967 if (op->extended_value == ZEND_BRK || op->extended_value == ZEND_CONT) 2968 { 2969 /* This was a ZEND_BRK or ZEND_CONT opcode changed into a ZEND_JMP in an earlier stage. 2970 see comment above ZEND_BRK/ZEND_CONT below */ 2971 p->follow = (innermost_ketchup > 0) ? &bb[innermost_ketchup] : &bb[len-1]; 2972 /* clear extended_value again just for tidyness :) */ 2973 op->extended_value = 0; 2974 } 2975 #endif 2964 2976 break; 2965 2977 case ZEND_JMPZNZ: