Changeset 305 for trunk/utils.c
- Timestamp:
- 2006-12-08T17:11:19+01:00 (6 years ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r295 r305 331 331 zend_op *opline; 332 332 333 #ifdef DEBUG 334 fprintf(stderr, "binding %d\n", oplineno); 335 #endif 333 TRACE("binding %d", oplineno); 336 334 assert(oplineno >= 0); 337 335 … … 352 350 353 351 parent_name = &(opline - 1)->op2.u.constant; 354 # ifdef DEBUG 355 fprintf(stderr, "binding with parent %s\n", Z_STRVAL_P(parent_name)); 356 # endif 352 TRACE("binding with parent %s", Z_STRVAL_P(parent_name)); 357 353 if (zend_lookup_class(Z_STRVAL_P(parent_name), Z_STRLEN_P(parent_name), &pce TSRMLS_CC) == FAILURE) { 358 354 return FAILURE; … … 369 365 zend_op *fetch_class_opline = opline - 1; 370 366 371 # ifdef DEBUG 372 fprintf(stderr, "%s %p\n", Z_STRVAL(fetch_class_opline->op2.u.constant), Z_STRVAL(fetch_class_opline->op2.u.constant)); 373 # endif 367 TRACE("%s %p", Z_STRVAL(fetch_class_opline->op2.u.constant), Z_STRVAL(fetch_class_opline->op2.u.constant)); 374 368 OP_ZVAL_DTOR(fetch_class_opline->op2); 375 369 fetch_class_opline->opcode = ZEND_NOP; … … 707 701 } 708 702 /* }}} */ 703 int xc_vtrace(const char *fmt, va_list args) /* {{{ */ 704 { 705 vfprintf(stderr, fmt, args); 706 return 0; 707 } 708 /* }}} */ 709 int xc_trace(const char *fmt, ...) /* {{{ */ 710 { 711 va_list args; 712 713 va_start(args, fmt); 714 xc_vtrace(fmt, args); 715 va_end(args); 716 return 0; 717 } 718 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

