src/share/vm/shark/llvmHeaders.hpp

Print this page
rev 3850 : [mq]: shark.patch

*** 33,72 **** #ifdef DEBUG #define SHARK_DEBUG #undef DEBUG #endif #include <llvm/Argument.h> #include <llvm/Constants.h> #include <llvm/DerivedTypes.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/Instructions.h> #include <llvm/LLVMContext.h> #include <llvm/Module.h> ! #if SHARK_LLVM_VERSION < 27 ! #include <llvm/ModuleProvider.h> ! #endif #include <llvm/Support/IRBuilder.h> - #if SHARK_LLVM_VERSION >= 29 - #include <llvm/Support/Threading.h> #else ! #include <llvm/System/Threading.h> #endif ! #include <llvm/Target/TargetSelect.h> #include <llvm/Type.h> #include <llvm/ExecutionEngine/JITMemoryManager.h> #include <llvm/Support/CommandLine.h> ! #if SHARK_LLVM_VERSION >= 27 #include <llvm/ExecutionEngine/JIT.h> #include <llvm/ADT/StringMap.h> #include <llvm/Support/Debug.h> - #if SHARK_LLVM_VERSION >= 29 #include <llvm/Support/Host.h> - #else - #include <llvm/System/Host.h> - #endif - #endif #include <map> #ifdef assert #undef assert --- 33,65 ---- #ifdef DEBUG #define SHARK_DEBUG #undef DEBUG #endif + #include <llvm/Analysis/Verifier.h> #include <llvm/Argument.h> #include <llvm/Constants.h> #include <llvm/DerivedTypes.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/Instructions.h> #include <llvm/LLVMContext.h> #include <llvm/Module.h> ! #if SHARK_LLVM_VERSION <= 31 #include <llvm/Support/IRBuilder.h> #else ! #include <llvm/IRBuilder.h> #endif ! #include <llvm/Support/Threading.h> ! #include <llvm/Support/TargetSelect.h> #include <llvm/Type.h> #include <llvm/ExecutionEngine/JITMemoryManager.h> #include <llvm/Support/CommandLine.h> ! #include <llvm/ExecutionEngine/MCJIT.h> #include <llvm/ExecutionEngine/JIT.h> #include <llvm/ADT/StringMap.h> #include <llvm/Support/Debug.h> #include <llvm/Support/Host.h> #include <map> #ifdef assert #undef assert