Ignore:
Timestamp:
Jan 21, 2018, 6:57:46 AM (17 months ago)
Author:
cameron
Message:

Decoupling PabloKernels? from CC_compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/ucd_compiler.cpp

    r5836 r5842  
    240240 ** ------------------------------------------------------------------------------------------------------------- */
    241241PabloAST * UCDCompiler::sequenceGenerator(const RangeList && ranges, const unsigned byte_no, PabloBuilder & builder, PabloAST * target, PabloAST * prefix) {
    242         bool isUTF_16 = mCharacterClassCompiler.isUTF_16();
     242    bool isUTF_16 = false;
    243243
    244244    if (LLVM_LIKELY(ranges.size() > 0)) {
     
    322322PabloAST * UCDCompiler::ifTestCompiler(const codepoint_t lo, const codepoint_t hi, const unsigned byte_no, PabloBuilder & builder, PabloAST * target) {
    323323
    324         bool isUTF_16 = mCharacterClassCompiler.isUTF_16();
     324        bool isUTF_16 = false;
    325325    codepoint_t lo_byte = encodingByte(lo, byte_no, isUTF_16);
    326326    codepoint_t hi_byte = encodingByte(hi, byte_no, isUTF_16);
     
    366366    assert (byte_no >= 1 && byte_no <= 4);
    367367    assert (byte_no == 1 || prefix != nullptr);
    368     bool isUTF_16 = mCharacterClassCompiler.isUTF_16();
     368    bool isUTF_16 = false;
    369369    for (unsigned i = 1; i != byte_no; ++i) {
    370370        const CC * const cc = makeByte(encodingByte(cp, i, isUTF_16));
Note: See TracChangeset for help on using the changeset viewer.