Changeset 1615


Ignore:
Timestamp:
Oct 29, 2011, 5:44:15 PM (7 years ago)
Author:
cameron
Message:

Update dump statements to use print_register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/TagMatcher.hpp

    r1594 r1615  
    190190          if(srcbuf[pos-1]!='<'|| srcbuf[pos]=='!'||srcbuf[pos]=='/'){
    191191#ifdef DUMP
    192 print_bit_block("srcbuf", bitblock::load_unaligned((BitBlock *) srcbuf));
     192print_register<BitBlock>("srcbuf", bitblock::load_unaligned((BitBlock *) srcbuf));
    193193#endif
    194194            fprintf(stderr,"illegal content before root element at position =%i.\n",buf_base+pos);
     
    212212void TagMatcher::store_streams(BitBlock tagMark, BitBlock NameFollow, BitBlock miscMark, int chars_avail){
    213213#ifdef DUMP
    214 print_bit_block("tagMark", tagMark);
    215 print_bit_block("NameFollow", NameFollow);
    216 print_bit_block("miscMark", miscMark);
     214print_register<BitBlock>("tagMark", tagMark);
     215print_register<BitBlock>("NameFollow", NameFollow);
     216print_register<BitBlock>("miscMark", miscMark);
    217217printf("chars_avail = %i\n", chars_avail);
    218218printf("stream_index = %i\n", stream_index);
     
    235235      pos = bitstream_scan(miscMarks,pos+1);
    236236#ifdef DUMP
    237 print_bit_block("miscMarks[0]", miscMarks[0]);
     237print_register<BitBlock>("miscMarks[0]", miscMarks[0]);
    238238printf("pos = %i\n", pos);
    239239#endif
Note: See TracChangeset for help on using the changeset viewer.