Ignore:
Timestamp:
Feb 22, 2017, 4:23:51 PM (2 years ago)
Author:
nmedfort
Message:

Added a simple CreateAssert? function in CBuilder and ReadOnly? flag for getStreamSetBufferPtr method to prevent expanding input stream sets. Begun work on CarryManager? to preallocate variable-length carry data slots.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r5329 r5340  
    287287    void insert(Statement * const statement);
    288288
    289     inline void setScopeIndex(const unsigned index) {
    290         mScopeIndex = index;
    291     }
    292 
    293     inline unsigned getScopeIndex() const {
    294         return mScopeIndex;
    295     }
    296    
    297289    void eraseFromParent(const bool recursively = false);
    298290
     
    319311protected:
    320312
    321     explicit PabloBlock(PabloKernel * const parent, Allocator & allocator) noexcept
     313    PabloBlock(PabloKernel * const parent, Allocator & allocator) noexcept
    322314    : PabloAST(PabloAST::ClassTypeId::Block, nullptr, allocator)
    323315    , mParent(parent)
    324316    , mBranch(nullptr)
    325     , mScopeIndex(0)
    326317    , mAllocator(allocator) {
    327318
     
    341332    PabloKernel * const         mParent;
    342333    Branch *                    mBranch;
    343     unsigned                    mScopeIndex;
    344334    Allocator &                 mAllocator;
    345335};
Note: See TracChangeset for help on using the changeset viewer.