Ignore:
Timestamp:
Jun 18, 2016, 9:50:11 PM (3 years ago)
Author:
cameron
Message:

pablo.Count is a pure statement, setting an accumulator state variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r5042 r5061  
    137137    PabloAST * createSel(PabloAST * condition, PabloAST * trueExpr, PabloAST * falseExpr, const std::string prefix);
    138138   
    139     PabloAST * createCount(PabloAST * expr);
    140    
    141     PabloAST * createCount(PabloAST * expr, const std::string prefix);
     139    Count * createCount(const std::string counter, PabloAST * expr) {
     140        return mPb->createCount(counter, expr);
     141    }
    142142   
    143143    PabloAST * createInFile(PabloAST * expr);
Note: See TracChangeset for help on using the changeset viewer.