Ignore:
Timestamp:
Oct 23, 2014, 7:03:21 AM (5 years ago)
Author:
cameron
Message:

Update pablo Advance object to take integer shift amount; not supported by compiler yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/printer_pablos.cpp

    r4257 r4260  
    113113    }
    114114    else if (const Advance * adv = dyn_cast<const Advance>(expr)) {
    115         return "Advance(" + ShowPabloAST(adv->getExpr()) + ")";
     115        return "Advance(" + ShowPabloAST(adv->getExpr()) + ", " + std::to_string(adv->getAdvanceAmount()) + ")";
    116116    }
    117117    else if (const MatchStar * mstar = dyn_cast<const MatchStar>(expr)) {
Note: See TracChangeset for help on using the changeset viewer.