Changeset 4873

Show
Ignore:
Timestamp:
06/30/09 16:02:00 (5 months ago)
Author:
rross
Message:

minor cleanup to help with readability while debugging.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/mpid/common/datatype/dataloop/segment_ops.c

    r4872 r4873  
    931931             */ 
    932932            *blocks_p -= (blocks_left + (size / (int) el_size)); 
    933 #ifdef MPID_SP_VERBOSE 
    934             MPIU_dbg_printf("\t[vector to vec exiting (1): next ind = %d, " MPI_AINT_FMT_DEC_SPEC " blocks processed.\n", 
    935                             paramp->u.pack_vector.index, 
    936                             *blocks_p); 
    937 #endif 
    938933            return 1; 
    939934        } 
     
    944939        } 
    945940        else { 
    946             /* Since bufp can be a displacement and can be negative, we cannot use 
    947              * MPI_VOID_PTR_CAST_TO_MPI_AINT to cast the sum to a pointer.  Just let it 
    948              * sign extend. 
     941            /* Since bufp can be a displacement and can be negative, we cannot 
     942             * use MPI_VOID_PTR_CAST_TO_MPI_AINT to cast the sum to a pointer. 
     943             * Just let it sign extend. 
    949944             */ 
    950             paramp->disps[last_idx+1]   = MPI_PTR_DISP_CAST_TO_MPI_AINT bufp + rel_off + offsetarray[last_idx+1]; 
     945            paramp->disps[last_idx+1]   = MPI_PTR_DISP_CAST_TO_MPI_AINT bufp + 
     946                rel_off + offsetarray[last_idx+1]; 
    951947            paramp->blklens[last_idx+1] = size; 
    952948            paramp->index++; 
     
    955951        rel_off += offsetarray[i]; 
    956952    } 
    957  
    958 #ifdef MPID_SP_VERBOSE 
    959     MPIU_dbg_printf("\t[vector to vec exiting (2): next ind = %d, " MPI_AINT_FMT_DEC_SPEC " blocks processed.\n", 
    960                     paramp->u.pack_vector.index, 
    961                     *blocks_p); 
    962 #endif 
    963953 
    964954    /* if we get here then we processed ALL the blocks; don't need to update