Changeset 5559


Ignore:
Timestamp:
Jul 10, 2017, 7:03:39 AM (2 years ago)
Author:
cameron
Message:

Small fix for re analysis

File:
1 edited

Legend:

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

    r5557 r5559  
    3636        return isByteLength(e->getLH()) && isByteLength(e->getRH());
    3737    } else if (isa<CC>(re)) {
    38         return cast<CC>(re) < makeCC(0, 0x7F);
     38        return cast<CC>(re)->max_codepoint() <= 0x7F;
    3939    } else if (const Name * n = dyn_cast<Name>(re)) {
    4040        if (n->getType() == Name::Type::Byte) {
Note: See TracChangeset for help on using the changeset viewer.