Show
Ignore:
Timestamp:
07/10/05 10:12:34 (4 years ago)
Author:
zoeloelip
Message:

* Renamed some macros from MMC (mmcache) to EA (eg MMCG is now EAG)
* Added eA file header to mm.c, mm.h and x86-spinlocks.h
* Readded a hack to the loader to prevent zend2 segfaults

Files:

Legend:

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

    r65 r123  
    14381438 
    14391439static int opt_get_constant(const char* name, int name_len, zend_constant** result TSRMLS_DC) { 
    1440   if (!MMCG(encoder) || 
     1440  if (!EAG(encoder) || 
    14411441      (name_len == sizeof("false")-1 && strcmp(name,"false") == 0) || 
    14421442      (name_len == sizeof("true")-1 && strcmp(name,"true") == 0)) { 
     
    14721472 
    14731473static int opt_function_exists(const char* name, int name_len TSRMLS_DC) { 
    1474   if (!MMCG(encoder)) { 
     1474  if (!EAG(encoder)) { 
    14751475    char *lcname; 
    14761476    char *lcfname; 
     
    15061506 
    15071507static int opt_extension_loaded(const char* name, int name_len TSRMLS_DC) { 
    1508   if (!MMCG(encoder)) { 
     1508  if (!EAG(encoder)) { 
    15091509    Bucket *p = module_registry.pListHead; 
    15101510    while (p != NULL) { 
     
    32223222#endif 
    32233223*/ 
    3224   if (!MMCG(compiler) || op_array->type != ZEND_USER_FUNCTION) { 
     3224  if (!EAG(compiler) || op_array->type != ZEND_USER_FUNCTION) { 
    32253225    return; 
    32263226  }