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/pablo/codegenstate.cpp

    r4761 r4788  
    88
    99namespace pablo {
     10
     11Zeroes * const PabloBlock::mZeroes = new Zeroes();
     12
     13Ones * const PabloBlock::mOnes = new Ones();
    1014
    1115inline PabloAST * PabloBlock::renameNonNamedNode(PabloAST * expr, const std::string && prefix) {
     
    549553PabloBlock::PabloBlock(SymbolGenerator & symbolGenerator)
    550554: PabloAST(PabloAST::ClassTypeId::Block)
    551 , mZeroes(new Zeroes())
    552 , mOnes(new Ones())
    553555, mSymbolGenerator(symbolGenerator)
    554556, mParent(nullptr)
     
    560562PabloBlock::PabloBlock(PabloBlock * predecessor)
    561563: PabloAST(PabloAST::ClassTypeId::Block)
    562 , mZeroes(predecessor->mZeroes) // inherit the original "Zeroes" variable for simplicity
    563 , mOnes(predecessor->mOnes) // inherit the original "Ones" variable for simplicity
    564564, mSymbolGenerator(predecessor->mSymbolGenerator)
    565565, mParent(predecessor)
Note: See TracChangeset for help on using the changeset viewer.