Changeset 1250


Ignore:
Timestamp:
2013-05-24T11:36:16+02:00 (19 months ago)
Author:
moo
Message:

fix optimizer debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_optimizer/xc_optimizer.c

    r1249 r1250  
    1414 
    1515#ifdef XCACHE_DEBUG 
    16 #error 1 
    1716#   include "xc_processor.h" 
    1817#   include "xcache/xc_const_string.h" 
     
    254253    case IS_UNUSED: 
    255254        if (Z_OP(*op).opline_num) { 
    256             snprintf(buf, size, "u#%d", Z_OP(op).opline_num); 
     255            snprintf(buf, size, "u#%d", Z_OP(*op).opline_num); 
    257256        } 
    258257        else { 
     
    262261 
    263262    default: 
    264         snprintf(buf, size, "%d %d", op->op_type, Z_OP(op).var); 
     263        snprintf(buf, size, "%d %d", op->op_type, Z_OP(*op).var); 
    265264    } 
    266265} 
Note: See TracChangeset for help on using the changeset viewer.