Ignore:
Timestamp:
Apr 18, 2017, 10:41:50 PM (2 years ago)
Author:
cameron
Message:

Factor out CountOnly? and InvertMatches? as separate kernels

File:
1 edited

Legend:

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

    r5357 r5413  
    8585}
    8686   
    87 void re2pablo_compiler(PabloKernel * kernel, RE * re_ast, const bool CountOnly) {
     87void re2pablo_compiler(PabloKernel * kernel, RE * re_ast) {
    8888    Var * const basis = kernel->getInputStreamVar("basis");
    8989    Var * const linebreak = kernel->getInputStreamVar("linebreak");
    9090    cc::CC_Compiler cc_compiler(kernel, basis);
    91     re::RE_Compiler re_compiler(kernel, cc_compiler, CountOnly);
     91    re::RE_Compiler re_compiler(kernel, cc_compiler);
    9292    re_compiler.initializeRequiredStreams(basis->getType()->getArrayNumElements(), linebreak);
    9393    re_compiler.compileUnicodeNames(re_ast);
    94     re_compiler.finalizeMatchResult(re_compiler.compile(re_ast), AlgorithmOptions.isSet(InvertMatches));
     94    re_compiler.finalizeMatchResult(re_compiler.compile(re_ast));
    9595}
    9696
Note: See TracChangeset for help on using the changeset viewer.