Ignore:
Timestamp:
Jan 15, 2018, 4:48:02 PM (15 months ago)
Author:
nmedfort
Message:

Revised RE_Minimizer to use alphabets + minor optimizations to RE functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_analysis.cpp

    r5805 r5835  
    123123    } else if (const CC * cc = dyn_cast<CC>(re)) {
    124124        const cc::Alphabet * a = cc->getAlphabet();
    125         if (a == &cc::Unicode) return (cc->max_codepoint() <= 0x7F);
    126         else if (a == &cc::Byte) return true;
    127         else if (isa<cc::MultiplexedAlphabet>(a)) {
     125        if (a == &cc::Unicode) {
     126            return (cc->max_codepoint() <= 0x7F);
     127        } else if (a == &cc::Byte) {
     128            return true;
     129        } else if (isa<cc::MultiplexedAlphabet>(a)) {
    128130            const cc::Alphabet * srcA = cast<cc::MultiplexedAlphabet>(a)->getSourceAlphabet();
    129131            if (srcA == &cc::Byte) {
Note: See TracChangeset for help on using the changeset viewer.