Changeset 357

Show
Ignore:
Timestamp:
07/14/09 11:25:27 (1 year ago)
Author:
bart
Message:

Sync with hg repo:

changeset: 306:bea34af4acf3
user: bart@vanbrabant.eu
date: Tue Jul 14 10:13:35 2009 +0200
summary: Disable the optimizer for PHP 5.3 until it is fixed

changeset: 307:6df5e204e41c
tag: tip
user: bart@vanbrabant.eu
date: Tue Jul 14 11:18:44 2009 +0200
summary: Restore the class entry of a property info structure correctly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ea_restore.c

    r356 r357  
    592592        memcpy(to->doc_comment, from->doc_comment, from->doc_comment_len + 1); 
    593593    } 
    594 # ifdef ZEND_ENGINE_2_2 
     594#endif 
     595#ifdef ZEND_ENGINE_2_2 
    595596    to->ce = EAG(class_entry); 
    596 # endif 
    597597#endif 
    598598    return to; 
  • eaccelerator/trunk/optimize.c

    r352 r357  
    32283228  BB* bb; 
    32293229 
     3230#if defined(ZEND_ENGINE_2_3) && !defined(DEBUG) 
     3231  // disable the optimizer for PHP 5.3 
     3232  return; 
     3233#endif 
     3234 
    32303235#ifdef ZEND_ENGINE_2_3 
    32313236  ALLOCA_FLAG(use_heap)