Changeset 1825 for proto/parabix2


Ignore:
Timestamp:
Jan 6, 2012, 11:19:12 AM (7 years ago)
Author:
cameron
Message:

Eliminate deprecated bitblock_has_bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r1761 r1825  
    286286tracker.StoreNewlines(lex.LF);
    287287
    288 if (bitblock_has_bit(simd_or(check_streams.non_ascii_name_starts, check_streams.non_ascii_names))) {
     288if (bitblock::any(simd_or(check_streams.non_ascii_name_starts, check_streams.non_ascii_names))) {
    289289        iter.init(&check_streams.non_ascii_name_starts);
    290290        validate_block(iter, block_base, NameStrt_check);
     
    292292        validate_block(iter, block_base, Name_check);
    293293}
    294 if (bitblock_has_bit(ctCDPI_Callouts.PI_name_starts)){
     294if (bitblock::any(ctCDPI_Callouts.PI_name_starts)){
    295295        iter.init(&(ctCDPI_Callouts.PI_name_starts));
    296296        validate_block(iter, block_base, buffer_base, PIName_check);
    297297}
    298 if (bitblock_has_bit(ctCDPI_Callouts.CD_starts)){
     298if (bitblock::any(ctCDPI_Callouts.CD_starts)){
    299299        iter.init(&ctCDPI_Callouts.CD_starts);
    300300        validate_block(iter, block_base, CD_check);
    301301}
    302 if(bitblock_has_bit(ref_Callouts.GenRef_starts)){
     302if(bitblock::any(ref_Callouts.GenRef_starts)){
    303303        iter.init(&ref_Callouts.GenRef_starts);
    304304        validate_block(iter, block_base, GenRef_check);
    305305}
    306 if(bitblock_has_bit(ref_Callouts.DecRef_starts)){
     306if(bitblock::any(ref_Callouts.DecRef_starts)){
    307307        iter.init(&ref_Callouts.DecRef_starts);
    308308        validate_block(iter, block_base, DecRef_check);
    309309}
    310 if(bitblock_has_bit(ref_Callouts.HexRef_starts)){
     310if(bitblock::any(ref_Callouts.HexRef_starts)){
    311311        iter.init(&ref_Callouts.HexRef_starts);
    312312        validate_block(iter, block_base, HexRef_check);
    313313}
    314 if(bitblock_has_bit(check_streams.att_refs)){
     314if(bitblock::any(check_streams.att_refs)){
    315315        iter.init(&check_streams.att_refs);
    316316        validate_block(iter, block_base, AttRef_check);
Note: See TracChangeset for help on using the changeset viewer.