Changeset 27 in svn for trunk/xcache.c


Ignore:
Timestamp:
2006-05-26T04:30:20+02:00 (9 years ago)
Author:
Xuefer
Message:

rename coverage -> coverager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r26 r27  
    1717#include "xcache.h"
    1818#include "optimizer.h"
    19 #include "coverage.h"
     19#include "coverager.h"
    2020#include "disassembler.h"
    2121#include "align.h"
     
    10161016#endif
    10171017    }
    1018 #ifdef HAVE_XCACHE_COVERAGE
    1019     xc_coverage_request_init(TSRMLS_C);
     1018#ifdef HAVE_XCACHE_COVERAGER
     1019    xc_coverager_request_init(TSRMLS_C);
    10201020#endif
    10211021}
     
    10241024{
    10251025    xc_entry_unholds(TSRMLS_C);
    1026 #ifdef HAVE_XCACHE_COVERAGE
    1027     xc_coverage_request_shutdown(TSRMLS_C);
     1026#ifdef HAVE_XCACHE_COVERAGER
     1027    xc_coverager_request_shutdown(TSRMLS_C);
    10281028#endif
    10291029}
     
    16211621    PHP_FE(xcache_decode_string,     NULL)
    16221622#endif
    1623 #ifdef HAVE_XCACHE_COVERAGE
    1624     PHP_FE(xcache_coverage_decode,   NULL)
     1623#ifdef HAVE_XCACHE_COVERAGER
     1624    PHP_FE(xcache_coverager_decode,  NULL)
    16251625#endif
    16261626    PHP_FE(xcache_get_special_value, NULL)
     
    17351735    STD_PHP_INI_BOOLEAN("xcache.optimizer",              "0", PHP_INI_ALL,    OnUpdateBool,        optimizer,         zend_xcache_globals, xcache_globals)
    17361736#endif
    1737 #ifdef HAVE_XCACHE_COVERAGE
     1737#ifdef HAVE_XCACHE_COVERAGER
    17381738    PHP_INI_ENTRY1     ("xcache.coveragedump_directory",  "", PHP_INI_SYSTEM, xc_OnUpdateString,   &xc_coveragedump_dir)
    17391739    STD_PHP_INI_BOOLEAN("xcache.coveragedumper" ,        "1", PHP_INI_ALL,    OnUpdateBool,        coveragedumper,    zend_xcache_globals, xcache_globals)
     
    18361836    }
    18371837
    1838 #ifdef HAVE_XCACHE_COVERAGE
    1839     xc_coverage_init(module_number TSRMLS_CC);
     1838#ifdef HAVE_XCACHE_COVERAGER
     1839    xc_coverager_init(module_number TSRMLS_CC);
    18401840#endif
    18411841
     
    18581858    }
    18591859
    1860 #ifdef HAVE_XCACHE_COVERAGE
    1861     xc_coverage_destroy();
     1860#ifdef HAVE_XCACHE_COVERAGER
     1861    xc_coverager_destroy();
    18621862#endif
    18631863
     
    19471947ZEND_DLEXPORT void xcache_statement_handler(zend_op_array *op_array) /* {{{ */
    19481948{
    1949 #ifdef HAVE_XCACHE_COVERAGE
    1950     xc_coverage_handle_ext_stmt(op_array, ZEND_EXT_STMT);
     1949#ifdef HAVE_XCACHE_COVERAGER
     1950    xc_coverager_handle_ext_stmt(op_array, ZEND_EXT_STMT);
    19511951#endif
    19521952}
     
    19551955{
    19561956#if 0
    1957     xc_coverage_handle_ext_stmt(op_array, ZEND_EXT_FCALL_BEGIN);
     1957    xc_coverager_handle_ext_stmt(op_array, ZEND_EXT_FCALL_BEGIN);
    19581958#endif
    19591959}
     
    19621962{
    19631963#if 0
    1964     xc_coverage_handle_ext_stmt(op_array, ZEND_EXT_FCALL_END);
     1964    xc_coverager_handle_ext_stmt(op_array, ZEND_EXT_FCALL_END);
    19651965#endif
    19661966}
Note: See TracChangeset for help on using the changeset viewer.