Changeset 543 in svn for trunk/optimizer.c


Ignore:
Timestamp:
2008-03-08T03:55:59Z (7 years ago)
Author:
Xuefer
Message:

renamed DEBUG to XCACHE_DEBUG due to conflict to ext/date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/optimizer.c

    r485 r543  
    11#if 0
    2 #   define DEBUG
     2#   define XCACHE_DEBUG
    33#endif
    44
     
    99#include "xcache_globals.h"
    1010
    11 #ifdef DEBUG
     11#ifdef XCACHE_DEBUG
    1212#   include "processor.h"
    1313#   include "const_string.h"
     
    181181}
    182182/* }}} */
    183 #ifdef DEBUG
     183#ifdef XCACHE_DEBUG
    184184static void op_snprint(char *buf, int size, znode *op) /* {{{ */
    185185{
     
    278278}
    279279/* }}} */
    280 #ifdef DEBUG
     280#ifdef XCACHE_DEBUG
    281281static void bb_print(bb_t *bb, zend_op *opcodes) /* {{{ */
    282282{
     
    320320}
    321321/* }}} */
    322 #ifdef DEBUG
     322#ifdef XCACHE_DEBUG
    323323static void bbs_print(bbs_t *bbs, zend_op *opcodes) /* {{{ */
    324324{
     
    408408        }
    409409    }
    410 #ifdef DEBUG
     410#ifdef XCACHE_DEBUG
    411411    for (i = 0; i < count; i ++) {
    412412        TRACE("catchbbids[%d] = %d", i, catchbbids[i]);
     
    522522    }
    523523
    524 #ifdef DEBUG
     524#ifdef XCACHE_DEBUG
    525525#   if 0
    526526    TRACE("optimize file: %s", op_array->filename);
     
    534534        if (bbs_build_from(&bbs, op_array, op_array->last) == SUCCESS) {
    535535            int i;
    536 #ifdef DEBUG
     536#ifdef XCACHE_DEBUG
    537537            bbs_print(&bbs, op_array->opcodes);
    538538#endif
     
    547547    }
    548548
    549 #ifdef DEBUG
     549#ifdef XCACHE_DEBUG
    550550#   if 0
    551551    TRACE("%s", "after compiles");
Note: See TracChangeset for help on using the changeset viewer.