Changeset 5199 for icGREP/icgrep-devel


Ignore:
Timestamp:
Oct 20, 2016, 11:36:40 AM (3 years ago)
Author:
faldebey
Message:

make_unique not supported in LLVM3.7

Location:
icGREP/icgrep-devel/icgrep
Files:
2 edited

Legend:

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

    r5197 r5199  
    345345int main(int argc, char *argv[]) {
    346346    llvm::install_fatal_error_handler(&icgrep_error_handler);
    347 #if LLVM_VERSION_MINOR > 6
     347#ifndef USE_LLVM_3_6
    348348    cl::HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *>{&LegacyGrepOptions, &EnhancedGrepOptions, re::re_toolchain_flags(), pablo::pablo_toolchain_flags(), codegen::codegen_flags()});
    349349#endif
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r5183 r5199  
    4242    Examine(mPabloFunction);
    4343   
    44     mCarryManager = make_unique<CarryManager>(iBuilder);
     44    mCarryManager = std::unique_ptr<CarryManager>(new CarryManager(iBuilder));
    4545    Type * carryDataType = mCarryManager->initializeCarryData(mPabloFunction);
    4646    return carryDataType;
Note: See TracChangeset for help on using the changeset viewer.