Ignore:
Timestamp:
Oct 4, 2015, 1:16:06 PM (3 years ago)
Author:
nmedfort
Message:

GCC fix + misc. changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_name.h

    r4809 r4818  
    4343        mCompiled = var;
    4444    }
    45     void setDefinition(RE * def);
     45    void setDefinition(RE * definition);
    4646    virtual ~Name() {}
    4747protected:
     
    5757    , mName(replicateString(name, nameLength))
    5858    , mType(type)
    59     , mDefiningRE(defn)
     59    , mDefinition(defn)
    6060    , mCompiled(nullptr)
    6161    {
     
    7777    const char * const  mName;
    7878    const Type          mType;
    79     RE *                mDefiningRE;
     79    RE *                mDefinition;
    8080    pablo::PabloAST *   mCompiled;
    8181};
     
    9898
    9999inline RE * Name::getDefinition() const {
    100     return mDefiningRE;
     100    return mDefinition;
    101101}
    102102
    103 inline void Name::setDefinition(RE * d) {
    104     assert (d != this);
    105     mDefiningRE = d;
     103inline void Name::setDefinition(RE * definition) {
     104    assert (definition != this);
     105    mDefinition = definition;
    106106}
    107107
Note: See TracChangeset for help on using the changeset viewer.