Changeset 543 for trunk/optimizer.c
- Timestamp:
- 03/08/2008 03:55:59 AM (9 months ago)
- Files:
-
- 1 modified
-
trunk/optimizer.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/optimizer.c
r485 r543 1 1 #if 0 2 # define DEBUG2 # define XCACHE_DEBUG 3 3 #endif 4 4 … … 9 9 #include "xcache_globals.h" 10 10 11 #ifdef DEBUG11 #ifdef XCACHE_DEBUG 12 12 # include "processor.h" 13 13 # include "const_string.h" … … 181 181 } 182 182 /* }}} */ 183 #ifdef DEBUG183 #ifdef XCACHE_DEBUG 184 184 static void op_snprint(char *buf, int size, znode *op) /* {{{ */ 185 185 { … … 278 278 } 279 279 /* }}} */ 280 #ifdef DEBUG280 #ifdef XCACHE_DEBUG 281 281 static void bb_print(bb_t *bb, zend_op *opcodes) /* {{{ */ 282 282 { … … 320 320 } 321 321 /* }}} */ 322 #ifdef DEBUG322 #ifdef XCACHE_DEBUG 323 323 static void bbs_print(bbs_t *bbs, zend_op *opcodes) /* {{{ */ 324 324 { … … 408 408 } 409 409 } 410 #ifdef DEBUG410 #ifdef XCACHE_DEBUG 411 411 for (i = 0; i < count; i ++) { 412 412 TRACE("catchbbids[%d] = %d", i, catchbbids[i]); … … 522 522 } 523 523 524 #ifdef DEBUG524 #ifdef XCACHE_DEBUG 525 525 # if 0 526 526 TRACE("optimize file: %s", op_array->filename); … … 534 534 if (bbs_build_from(&bbs, op_array, op_array->last) == SUCCESS) { 535 535 int i; 536 #ifdef DEBUG536 #ifdef XCACHE_DEBUG 537 537 bbs_print(&bbs, op_array->opcodes); 538 538 #endif … … 547 547 } 548 548 549 #ifdef DEBUG549 #ifdef XCACHE_DEBUG 550 550 # if 0 551 551 TRACE("%s", "after compiles");

