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

    r4680 r4681  
    3535        Var * var = mBuilder.createVar(prefix + std::to_string(i));
    3636        function.setParameter(i, var);
    37         mBasisBit[encoding.getBits() - i - 1] = var;
     37        mBasisBit[i] = var;
    3838    }
    3939}
     
    269269
    270270inline Var * CC_Compiler::getBasisVar(const int i) const {
    271     return mBasisBit[i];
     271    return mBasisBit[mEncoding.getBits() - i - 1];
    272272}
    273273
Note: See TracChangeset for help on using the changeset viewer.