Ignore:
Timestamp:
Jun 30, 2015, 3:12:47 PM (4 years ago)
Author:
nmedfort
Message:

Temporary check-in for dynamic unicode class compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/unicode_set.cpp

    r4622 r4626  
    385385    assert (n == 1);   
    386386
     387    if (LLVM_UNLIKELY(mBaseCodePoint >= CC::UNICODE_MAX)) {
     388        mRunIterator = mRunEnd;
     389        mQuadIterator = mQuadEnd;
     390        mMixedRunIndex = 0;
     391        mQuadOffset = 0;
     392        return;
     393    }
     394
    387395    // Find the start of our interval
    388396    for ( ; mBaseCodePoint < CC::UNICODE_MAX; ++mRunIterator) {
     
    399407            }
    400408        }
    401         else { // if (leftypeOf(t) == Mixed)
     409        else { // if (typeOf(t) == Mixed)
    402410            bool found = false;
    403411            while (mMixedRunIndex != lengthOf(*mRunIterator)) {
     
    439447            continue;
    440448        }
    441         else { // if (leftypeOf(t) == Mixed)
     449        else { // if (typeOf(t) == Mixed)
    442450            bool found = false;
    443451            while (mMixedRunIndex != lengthOf(*mRunIterator)) {
     
    463471    }
    464472
    465 
    466473}
    467474
Note: See TracChangeset for help on using the changeset viewer.