Ignore:
Timestamp:
Jul 16, 2015, 1:51:51 PM (4 years ago)
Author:
nmedfort
Message:

Added pablo Prototype to compiler. All Calls must be given one instead of a Name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.hpp

    r4657 r4680  
    5151    }
    5252
    53     inline Call * createCall(const std::string name) {
    54         return createCall(mPb->getName(name));
    55     }
    56 
    57     Call * createCall(String * name);
     53    Call * createCall(Prototype * prototype);
    5854
    5955    Assign * createAssign(const std::string && prefix, PabloAST * expr) {
     
    171167    }
    172168
     169    inline String * getName(const std::string name, const bool generated = true) const {
     170        return mPb->getName(std::move(name), generated);
     171    }
     172
     173    inline String * makeName(const std::string prefix, const bool generated = true) const {
     174        return mPb->makeName(std::move(prefix), generated);
     175    }
     176
     177    inline Integer * getInteger(Integer::integer_t value) {
     178        return mPb->getInteger(value);
     179    }
     180
     181
    173182    inline Statement * getInsertPoint() const {
    174183        return mPb->getInsertPoint();
Note: See TracChangeset for help on using the changeset viewer.