Update ExpressionJIT.cpp

This commit is contained in:
alesapin 2019-01-12 10:19:18 +03:00 committed by GitHub
parent 748bcb0a3c
commit a9550c5a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ auto wrapJITSymbolResolver(llvm::JITSymbolResolver & jsr)
#endif
#if LLVM_VERSION_MAJOR >= 7
using ModulePtr = std::shared_ptr<llvm::Module>;
using ModulePtr = std::unique_ptr<llvm::Module>;
#else
using ModulePtr = std::shared_ptr<llvm::Module>;
#endif