Ignore:
Timestamp:
Jan 5, 2017, 3:54:40 PM (3 years ago)
Author:
nmedfort
Message:

Code clean up to enforce proper calling order of KernelBuilder? methods

File:
1 edited

Legend:

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

    r5238 r5246  
    4040
    4141       
    42 void ScanMatchKernel::generateDoBlockMethod() {
     42void ScanMatchKernel::generateDoBlockMethod() const {
    4343    auto savePoint = iBuilder->saveIP();
    4444    Module * m = iBuilder->getModule();
     
    7878
    7979   
    80 Function * ScanMatchKernel::generateScanWordRoutine(Module * m) {
     80Function * ScanMatchKernel::generateScanWordRoutine(Module * m) const {
    8181    Function * function = m->getFunction("scan_matches_in_scanword");
    8282    if (LLVM_UNLIKELY(function != nullptr)) {
Note: See TracChangeset for help on using the changeset viewer.