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

Initial introduction of a PabloFunction? type.

File:
1 edited

Legend:

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

    r4656 r4657  
    2828    friend class While;
    2929    friend class PabloBlock;
    30     friend class Function;
     30    friend class PabloFunction;
    3131    friend class SymbolGenerator;
    3232public:
     
    221221        for (PabloAST * const op : operands) {
    222222            mOperand[i++] = op;
    223             op->addUser(this);
     223            if (LLVM_LIKELY(op != nullptr)) {
     224                op->addUser(this);
     225            }
    224226        }
    225227    }
Note: See TracChangeset for help on using the changeset viewer.