Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (3 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5204 r5217  
    99    friend class SymbolGenerator;
    1010public:
    11     typedef u_int64_t Type;
     11
     12
    1213    static inline bool classof(const PabloAST * e) {
    1314        return e->getClassTypeId() == ClassTypeId::Integer;
     
    1920
    2021    }
    21     inline Type value() const {
     22    inline int64_t value() const {
    2223        return mValue;
    2324    }
    2425protected:
    25     Integer(Type value) noexcept
    26     : PabloAST(ClassTypeId::Integer, getScalarTy(), nullptr)
     26    Integer(const int64_t value, Type * type) noexcept
     27    : PabloAST(ClassTypeId::Integer, type, nullptr)
    2728    , mValue(value)
    2829    {
     
    3031    }
    3132private:
    32     Type mValue;
     33    int64_t mValue;
    3334};
    3435
Note: See TracChangeset for help on using the changeset viewer.