Ignore:
Timestamp:
Mar 18, 2016, 5:45:18 AM (3 years ago)
Author:
cameron
Message:

Remove mod64 junk

File:
1 edited

Legend:

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

    r4978 r4980  
    5151static cl::opt<bool> DisableUnicodeLineBreak("disable-unicode-linebreak", cl::init(false),
    5252                     cl::desc("disable Unicode line breaks - use LF only"), cl::cat(fREcompilationOptions));
    53 static cl::opt<bool> SetMod64Approximation("mod64-approximate", cl::init(false),
    54                      cl::desc("set mod64 approximate mode"), cl::cat(fREcompilationOptions));
    5553
    5654#ifndef DISABLE_PREGENERATED_UCD_FUNCTIONS
     
    661659        PabloAST * cc = markerVar(compile(repeated, pb));
    662660        PabloAST * mstar = nullptr;
    663         if (SetMod64Approximation) {
    664             mstar = pb.createMod64MatchStar(base, cc, "unbounded");
    665         } else {
    666             mstar = pb.createMatchStar(base, cc, "unbounded");
    667         }
     661        mstar = pb.createMatchStar(base, cc, "unbounded");
    668662        return makeMarker(MarkerPosition::InitialPostPositionByte, mstar);
    669663    } else if (isUnicodeUnitLength(repeated) && !DisableMatchStar && !DisableUnicodeMatchStar) {
     
    675669        }
    676670        cc = pb.createOr(cc, nonFinal);
    677         if (SetMod64Approximation) {
    678             mstar = pb.createMod64MatchStar(base, cc);
    679         } else {
    680             mstar = pb.createMatchStar(base, cc);
    681         }
     671        mstar = pb.createMatchStar(base, cc);
    682672        PabloAST * final = mFinal;
    683673        if (mGraphemeBoundaryRule) {
Note: See TracChangeset for help on using the changeset viewer.