Ignore:
Timestamp:
Jul 11, 2015, 5:16:37 PM (4 years ago)
Author:
nmedfort
Message:

Minor changes to function compilation preceeding any modification of the pablo Call class.

File:
1 edited

Legend:

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

    r4626 r4659  
    107107   
    108108    const auto llvm_codegen = icgrep::compile(encoding, regexVector, globalFlags);
    109 
    110109    if (llvm_codegen.FunctionPointer) {
    111         void (*FP)(const Basis_bits &basis_bits, BitBlock process_block_state_data[], Output &output) =
    112            (void (*)(const Basis_bits &basis_bits, BitBlock process_block_state_data[], Output &output))(void*)llvm_codegen.FunctionPointer;
    113         GrepExecutor grepEngine = GrepExecutor(llvm_codegen.CarryDataSize, FP);
     110        GrepExecutor grepEngine = GrepExecutor(llvm_codegen.CarryDataSize, llvm_codegen.FunctionPointer);
    114111        grepEngine.setCountOnlyOption(CountOnly);
    115112        grepEngine.setNormalizeLineBreaksOption(NormalizeLineBreaks);
Note: See TracChangeset for help on using the changeset viewer.