Ignore:
Timestamp:
Aug 26, 2016, 12:48:42 PM (3 years ago)
Author:
cameron
Message:

refine PabloKernel? signature based on CountOnly? parameter

File:
1 edited

Legend:

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

    r5045 r5134  
    8686}
    8787   
    88 PabloFunction * re2pablo_compiler(const Encoding encoding, RE * re_ast) {
    89     PabloFunction * function = PabloFunction::Create("process_block", encoding.getBits(), 2);
     88PabloFunction * re2pablo_compiler(const Encoding encoding, RE * re_ast, bool CountOnly) {
     89    PabloFunction * function = PabloFunction::Create("process_block", encoding.getBits(), CountOnly ? 0 : 2);
    9090    cc::CC_Compiler cc_compiler(*function, encoding);
    91     re::RE_Compiler re_compiler(*function, cc_compiler);
     91    re::RE_Compiler re_compiler(*function, cc_compiler, CountOnly);
    9292    re_compiler.initializeRequiredStreams(encoding);
    9393    re_compiler.compileUnicodeNames(re_ast);
Note: See TracChangeset for help on using the changeset viewer.