Ignore:
Timestamp:
Aug 9, 2015, 1:32:19 PM (4 years ago)
Author:
cameron
Message:

Minor fixes

File:
1 edited

Legend:

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

    r4718 r4721  
    123123    PabloAST * createMod64Advance(PabloAST * expr, PabloAST * shiftAmount);
    124124
     125    inline PabloAST * createMod64Advance(PabloAST * expr, const Integer::Type shiftAmount) {
     126        if (shiftAmount == 0) {
     127            return expr;
     128        }
     129        return createMod64Advance(expr, mPb->getInteger(shiftAmount));
     130    }
     131
    125132    inline PabloAST * createMod64Advance(PabloAST * expr, const Integer::Type shiftAmount, const std::string prefix) {
    126133        if (shiftAmount == 0) {
Note: See TracChangeset for help on using the changeset viewer.