Changeset 128
- Timestamp:
- 10/13/05 21:32:55 (3 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (2 diffs)
- eaccelerator/trunk/optimize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r127 r128 1 2005-10-13 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 3 * Fixed the php5 optimizer bug. 4 1 5 2005-08-03 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 6 2 7 * Included some compile fixes. (Thanks Matt) 3 8 * Included patch from the hardened php guys to make eA work … … 5 10 6 11 2005-07-11 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 12 7 13 * ea_store.c and ea_restore.c functions clean up 8 14 * extraced restore_class_parent and restore_class_methods from eaccelerator/trunk/optimize.c
r123 r128 1700 1700 op->result.op_type == IS_TMP_VAR) { 1701 1701 zend_constant *c = NULL; 1702 if (opt_get_constant(op->op1.u.constant.value.str.val, op->op1.u.constant.value.str.len, &c TSRMLS_CC) && c != NULL && ((c->flags & CONST_PERSISTENT) != 0)) { 1702 if (op->op1.u.constant.value.str.val != NULL && 1703 opt_get_constant(op->op1.u.constant.value.str.val, op->op1.u.constant.value.str.len, &c TSRMLS_CC) 1704 && c != NULL && ((c->flags & CONST_PERSISTENT) != 0)) { 1703 1705 STR_FREE(op->op1.u.constant.value.str.val); 1704 1706 memcpy(&op->op1.u.constant, &c->value, sizeof(zval));