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/cc/cc_compiler.cpp

    r4671 r4680  
    3434    for (unsigned i = 0; i != encoding.getBits(); i++) {
    3535        Var * var = mBuilder.createVar(prefix + std::to_string(i));
    36         function.addParameter(var);
     36        function.setParameter(i, var);
    3737        mBasisBit[encoding.getBits() - i - 1] = var;
    3838    }
Note: See TracChangeset for help on using the changeset viewer.