Ignore:
Timestamp:
Jun 25, 2015, 3:47:56 PM (4 years ago)
Author:
nmedfort
Message:

Upload of an untested (inactive) UCD compiler.

Location:
icGREP/icgrep-devel/icgrep/cc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.cpp

    r4614 r4617  
    2727namespace cc {
    2828
    29 CC_Compiler::CC_Compiler(PabloBlock & entry, const Encoding encoding, const std::string basis_pattern)
     29CC_Compiler::CC_Compiler(PabloBlock & entry, const Encoding & encoding, const std::string basis_pattern)
    3030: mBuilder(entry)
    3131, mBasisBit(encoding.getBits())
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.h

    r4612 r4617  
    2222    using Vars = std::vector<pablo::Var *>;
    2323
    24     CC_Compiler(pablo::PabloBlock & entry, const Encoding encoding, const std::string basis_pattern = "basis");
     24    CC_Compiler(pablo::PabloBlock & entry, const Encoding & encoding, const std::string basis_pattern = "basis");
    2525
    2626    const Vars & getBasisBits(const CC_NameMap & nameMap) const;
     
    5757    pablo::PabloBuilder         mBuilder;
    5858    std::vector<pablo::Var *>   mBasisBit;
    59     const Encoding              mEncoding;
     59    const Encoding &            mEncoding;
    6060};
    6161
Note: See TracChangeset for help on using the changeset viewer.