Ignore:
Timestamp:
Dec 30, 2017, 4:43:19 PM (13 months ago)
Author:
cameron
Message:

Parsing of byte CCs

File:
1 edited

Legend:

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

    r5748 r5814  
    142142
    143143    if ((n2 < n1) || (diff_count > mEncodingBits)) {
    144         throw std::runtime_error("Bad Range: [" + std::to_string(n1) + "," +
     144        llvm::report_fatal_error("Bad Range: [" + std::to_string(n1) + "," +
    145145                                 std::to_string(n2) + "] for " +
    146146                                 std::to_string(mEncodingBits) + "-bit encoding");
     
    218218        return make_range(lo, hi, pb);
    219219    }
    220     throw std::runtime_error(std::string("Invalid Character Set Range: [") + std::to_string(lo) + "," + std::to_string(hi) + "]");
     220    llvm::report_fatal_error(std::string("Invalid Character Set Range: [") + std::to_string(lo) + "," + std::to_string(hi) + "]");
    221221}
    222222
Note: See TracChangeset for help on using the changeset viewer.