Changeset 161
- Timestamp:
- 02/17/06 17:32:29 (2 years ago)
- Files:
-
- eaccelerator/branches/PHP_5_1/ChangeLog (modified) (1 diff)
- eaccelerator/branches/PHP_5_1/ea_store.c (modified) (1 diff)
- eaccelerator/branches/PHP_5_1/optimize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/branches/PHP_5_1/ChangeLog
r158 r161 1 2006-02-17 Hans Rakers <hans at parse dot nl> 2 3 * PHP_5_1: Some final fixes before merging to HEAD: 4 - Fixed bug #1410723 (handling of class constants by the optimizer) 5 - Fixed backwards compatibility with PHP < 5.1 6 7 This revision works pretty well in my testing environment, PHP-5.1 support 8 seems to be coming along quite well. Please test with your applications/ 9 in your environment and report back with your experiences or possible problems! 10 1 11 2006-02-15 Hans Rakers <hans at parse dot nl> 2 12 eaccelerator/branches/PHP_5_1/ea_store.c
r158 r161 808 808 } 809 809 /* If the static member points to the same value in parent and child, remove for proper inheritance during restore */ 810 # ifdef ZEND_ENGINE_2_1 810 811 if(zend_hash_quick_find(&parent->default_static_members, p->arKey, p->nKeyLength, p->h, (void**)&pprop) == SUCCESS) { 812 # else 813 if(zend_hash_quick_find(&parent->static_members, p->arKey, p->nKeyLength, p->h, (void**)&pprop) == SUCCESS) { 814 # endif 811 815 ea_debug_printf(EA_DEBUG, "[%d] store_static_member_access_check: SUCCESS looking up arKey\n",getpid()); 812 816 ea_debug_printf(EA_DEBUG, "[%d] store_static_member_access_check: pprop=%x cprop=%x\n",getpid(), *pprop, *cprop); eaccelerator/branches/PHP_5_1/optimize.c
r148 r161 3224 3224 if (op->opcode == ZEND_DO_FCALL_BY_NAME) { 3225 3225 op->op1.op_type = IS_UNUSED; 3226 } else if (op->opcode == ZEND_FETCH_CONSTANT) { 3227 op->op1.u.var = VAR_VAL(assigned[r]); 3228 op->op1.op_type = IS_CONST; 3226 3229 } else { 3227 3230 op->op1.u.var = VAR_VAL(assigned[r]);