Ignore:
Timestamp:
Jul 16, 2015, 3:46:58 PM (4 years ago)
Author:
nmedfort
Message:

First attempt to add arguments to Call objects. Currently non-functioning in Pablo_Compiler.

File:
1 edited

Legend:

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

    r4680 r4681  
    3030#include <pablo/ps_while.h>
    3131#include <pablo/function.h>
     32#include <llvm/ADT/ArrayRef.h>
    3233#include <stdexcept>
    3334
     
    7677    }
    7778
    78     inline Call * createCall(Prototype * prototype) {
    79         return createCall(prototype);
     79    inline Call * createCall(Prototype * prototype, const std::vector<Var *> & args) {
     80        return createCall(prototype, reinterpret_cast<const std::vector<PabloAST *> &>(args));
    8081    }
    8182
     
    186187private:
    187188
    188     Call * createCall(PabloAST * prototype);
     189    Call * createCall(PabloAST * prototype, const std::vector<PabloAST *> & args);
    189190
    190191    Var * createVar(PabloAST * name);
Note: See TracChangeset for help on using the changeset viewer.