Ignore:
Timestamp:
Oct 28, 2014, 12:17:38 PM (5 years ago)
Author:
nmedfort
Message:

Implemented slab allocator based on the original Parabix StringPool?; intergrated it with RE and Pablo AST nodes.

File:
1 edited

Legend:

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

    r4264 r4272  
    3636    }
    3737protected:
     38    void* operator new (std::size_t size) noexcept {
     39        return mAllocator.allocate(size);
     40    }
    3841    If(PabloAST * expr, StatementList && body)
    3942    : PabloAST(ClassTypeId::If)
     
    4649private:
    4750    PabloAST * const    mExpr;
    48     StatementList      mBody;
     51    StatementList       mBody;
    4952    unsigned            mCarryCount;
    5053};
Note: See TracChangeset for help on using the changeset viewer.