Ignore:
Timestamp:
Dec 24, 2017, 12:05:36 PM (13 months ago)
Author:
cameron
Message:

Name::Type::Byte removed in favor of cc::Byte alphabet; other cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/charclasses.cpp

    r5787 r5805  
    1212#include <boost/uuid/sha1.hpp>
    1313#include <pablo/builder.hpp>
     14#include <llvm/Support/ErrorHandling.h>
    1415#include <llvm/Support/raw_ostream.h>
    1516
     
    9798        if (t != nameMap.end()) {
    9899            PabloAST * const r = pb.createExtract(getOutput(0), pb.getInteger(i));
    99             if (t->first->getType() == Name::Type::Byte) {
    100                 pb.createAssign(r, ccc.compileCC(dyn_cast<CC>(t->first->getDefinition())));
    101             } else {
    102                 pb.createAssign(r, pb.createInFile(t->second));
    103             }
     100            pb.createAssign(r, pb.createInFile(t->second));
    104101        } else {
    105             throw std::runtime_error("Can't compile character classes.");
     102            llvm::report_fatal_error("Can't compile character classes.");
    106103        }
    107104    }
Note: See TracChangeset for help on using the changeset viewer.