diff --git a/deps/LLVMExtra/lib/newpm.cpp b/deps/LLVMExtra/lib/newpm.cpp index 4ee1f69a..2c9ab094 100644 --- a/deps/LLVMExtra/lib/newpm.cpp +++ b/deps/LLVMExtra/lib/newpm.cpp @@ -114,7 +114,7 @@ DEFINE_SIMPLE_CONVERSION_FUNCTIONS(llvm::StandardInstrumentations, LLVMStandardI DEFINE_SIMPLE_CONVERSION_FUNCTIONS(llvm::PassInstrumentationCallbacks, LLVMPassInstrumentationCallbacksRef) LLVMStandardInstrumentationsRef LLVMCreateStandardInstrumentations(LLVMContextRef C, LLVMBool DebugLogging, LLVMBool VerifyEach) { -#if LLVM_VERSION_MAJOR >= 15 +#if LLVM_VERSION_MAJOR >= 16 return wrap(new llvm::StandardInstrumentations(*unwrap(C), DebugLogging, VerifyEach)); #else return wrap(new llvm::StandardInstrumentations(DebugLogging, VerifyEach));