Ignore:
Timestamp:
Sep 23, 2015, 12:54:17 AM (4 years ago)
Author:
nmedfort
Message:

Misc changes + potential SIGBUS fix for issue reported by Hongpu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/generate_predefined_ucd_functions.cpp

    r4777 r4788  
    148148std::pair<unsigned, unsigned> computePabloDependencyChainMetrics(const PabloFunction * f) {
    149149    std::unordered_map<const PabloAST *, unsigned> G;
    150     G.insert(std::make_pair(f->getEntryBlock().createZeroes(), 0));
    151     G.insert(std::make_pair(f->getEntryBlock().createOnes(), 0));
     150    G.insert(std::make_pair(PabloBlock::createZeroes(), 0));
     151    G.insert(std::make_pair(PabloBlock::createOnes(), 0));
    152152    for (unsigned i = 0; i != f->getNumOfParameters(); ++i) {
    153153        G.insert(std::make_pair(f->getParameter(i), 0));
Note: See TracChangeset for help on using the changeset viewer.