Ignore:
Timestamp:
Aug 16, 2015, 3:55:50 PM (4 years ago)
Author:
cameron
Message:

Embed carry data in compiled LLVM module; eliminate passing of carry data pointers/size

File:
1 edited

Legend:

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

    r4692 r4726  
    55namespace pablo {
    66
    7 Prototype::Prototype(const PabloAST::ClassTypeId type, std::string && name, const unsigned numOfParameters, const unsigned numOfResults, const unsigned requiredStateSpace, void * functionPtr)
     7Prototype::Prototype(const PabloAST::ClassTypeId type, std::string && name, const unsigned numOfParameters, const unsigned numOfResults, void * functionPtr)
    88: PabloAST(type)
    99, mName(GlobalSymbolGenerator.get(name, false))
    1010, mNumOfParameters(numOfParameters)
    1111, mNumOfResults(numOfResults)
    12 , mRequiredStateSpace(requiredStateSpace)
    1312, mFunctionPtr(functionPtr) {
    1413
     
    1615
    1716PabloFunction::PabloFunction(std::string && name, const unsigned numOfParameters, const unsigned numOfResults)
    18 : Prototype(ClassTypeId::Function, std::move(name), numOfParameters, numOfResults, 0, nullptr)
     17: Prototype(ClassTypeId::Function, std::move(name), numOfParameters, numOfResults, nullptr)
    1918, mEntryBlock(PabloBlock::Create(mSymbolTable))
    2019, mParameters(reinterpret_cast<Var **>(mAllocator.allocate(sizeof(Var *) * numOfParameters)))
Note: See TracChangeset for help on using the changeset viewer.