source: icGREP/icgrep-devel/icgrep/pablo/function.cpp @ 4659

Last change on this file since 4659 was 4659, checked in by nmedfort, 4 years ago

Minor changes to function compilation preceeding any modification of the pablo Call class.

File size: 387 bytes
Line 
1#include "function.h"
2#include <pablo/codegenstate.h>
3
4namespace pablo {
5
6PabloFunction::PabloFunction(std::string && name)
7: PabloAST(ClassTypeId::Function)
8, mEntryBlock(PabloBlock::Create(mSymbolTable))
9, mParameters(reinterpret_cast<ParamAllocator &>(mVectorAllocator))
10, mResults(reinterpret_cast<ResultAllocator &>(mVectorAllocator))
11, mName(mSymbolTable.get(name, false)) {
12
13}
14
15}
Note: See TracBrowser for help on using the repository browser.