Remove all of the now unecessary #if LLVM_REV

This commit is contained in:
Benjamin Kramer
2009-07-11 14:09:33 +02:00
parent 917bd7b901
commit 45f7401a5b
8 changed files with 3 additions and 91 deletions

View File

@@ -1,8 +1,6 @@
#include "gen/llvm.h"
#include "gen/llvm-version.h"
#if LLVM_REV >= 74640
#include "llvm/LLVMContext.h"
#endif
#include "llvm/Module.h"
#include "llvm/Attributes.h"
#include "llvm/Bitcode/ReaderWriter.h"
@@ -153,11 +151,7 @@ static const LLType* rt_dg2()
static void LLVM_D_BuildRuntimeModule()
{
Logger::println("building module");
#if LLVM_REV >= 74640
M = new llvm::Module("ldc internal runtime", llvm::getGlobalContext());
#else
M = new llvm::Module("ldc internal runtime");
#endif
Logger::println("building basic types");
const LLType* voidTy = LLType::VoidTy;