Ignore:
Timestamp:
Aug 19, 2015, 12:15:30 PM (4 years ago)
Author:
cameron
Message:

Reorganize icgrep into RE/Pablo/IR passes, support -precompiled IR

File:
1 edited

Legend:

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

    r4726 r4734  
    7777    }
    7878
    79     static PabloFunction Create(std::string name, const unsigned numOfParameters, const unsigned numOfResults);
    80 
     79    static PabloFunction * Create(std::string name, const unsigned numOfParameters, const unsigned numOfResults);
     80   
    8181    virtual bool operator==(const PabloAST & other) const {
    8282        return &other == this;
     
    158158};
    159159
    160 inline PabloFunction PabloFunction::Create(std::string name, const unsigned numOfParameters, const unsigned numOfResults) {
    161     return PabloFunction(std::move(name), numOfParameters, numOfResults);
     160inline PabloFunction * PabloFunction::Create(std::string name, const unsigned numOfParameters, const unsigned numOfResults) {
     161    return new PabloFunction(std::move(name), numOfParameters, numOfResults);
    162162}
    163 
     163   
    164164}
    165165
Note: See TracChangeset for help on using the changeset viewer.