Changeset 324 for eaccelerator/branches
- Timestamp:
- 08/14/07 13:08:41 (1 year ago)
- Files:
-
- eaccelerator/branches/0.9.5/ChangeLog (modified) (1 diff)
- eaccelerator/branches/0.9.5/optimize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/branches/0.9.5/ChangeLog
r305 r324 1 2007-08-14 Hans Rakers <hans at react.nl> 2 3 * Optimizer fix for #242. PHP-5.2.1 introduces a ZEND_JMP before a 4 ZEND_FETCH_CLASS/ZEND_CATCH which the optimizer did not handle 5 correctly, resulting in uncaught exceptions. (Thanks to warwickshaw) 6 1 7 2007-05-06 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 8 eaccelerator/branches/0.9.5/optimize.c
r266 r324 2983 2983 op->extended_value = 0; 2984 2984 } 2985 # if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2 && PHP_RELEASE_VERSION >= 1) || PHP_MAJOR_VERSION >= 6 2986 /* php >= 5.2.1 introduces a ZEND_JMP before a ZEND_FETCH_CLASS and ZEND_CATCH 2987 this leaves those blocks intact */ 2988 else if ((op+1)->opcode == ZEND_FETCH_CLASS && (op+2)->opcode == ZEND_CATCH) { /* fix for #242 */ 2989 p->follow = &bb[line_num]; 2990 } 2991 # endif 2985 2992 #endif 2986 2993 break;