Changeset 168


Ignore:
Timestamp:
Jun 24, 2008, 5:21:31 PM (11 years ago)
Author:
cameron
Message:

UTF-16 end-tag matching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r164 r168  
    746746        char * start_elem_name = model_info->symbol_table->Get_UTF8_name(nameID);
    747747        int lgth = model_info->symbol_table->Get_UTF8_lgth(nameID);
    748         Advance(lgth);
    749         char * end_elem_name = (char *)GetCodeUnitPtr(name_start);
     748        char * end_elem_name = &((char *) x8data)[buffer_rel_pos];
    750749       
    751750        BytePack byte_compare =  simd_eq_8(sisd_load_unaligned((BytePack *) end_elem_name),
     
    777776            }
    778777        }
     778        Advance(lgth);
     779
    779780#endif
    780781#if defined(OMISSION) and ((OMISSION == END_TAG_MATCHING) or (OMISSION == NAME_LOOKUP))
Note: See TracChangeset for help on using the changeset viewer.