about summary refs log tree commit diff
path: root/src/rustllvm/rustllvm.h
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-04-20 10:19:02 -0700
committerTamir Duberstein <tamird@gmail.com>2015-04-21 07:20:48 -0700
commitba276adab596bafe48a27dc02dcc5867446a52b5 (patch)
tree5cb6a4d98ba9e6e3c1ffc5782654d292bf338266 /src/rustllvm/rustllvm.h
parent77acda1c8ee75f9eb923ddd811ee591951b2d43f (diff)
downloadrust-ba276adab596bafe48a27dc02dcc5867446a52b5.tar.gz
rust-ba276adab596bafe48a27dc02dcc5867446a52b5.zip
LLVM < 3.5 is unsupported since bb18a3c
Diffstat (limited to 'src/rustllvm/rustllvm.h')
-rw-r--r--src/rustllvm/rustllvm.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rustllvm/rustllvm.h b/src/rustllvm/rustllvm.h
index 33dec63a728..8a4330acf43 100644
--- a/src/rustllvm/rustllvm.h
+++ b/src/rustllvm/rustllvm.h
@@ -46,17 +46,10 @@
 #include "llvm-c/ExecutionEngine.h"
 #include "llvm-c/Object.h"
 
-#if LLVM_VERSION_MINOR >= 5
 #include "llvm/IR/IRPrintingPasses.h"
 #include "llvm/IR/DebugInfo.h"
 #include "llvm/IR/DIBuilder.h"
 #include "llvm/Linker/Linker.h"
-#else
-#include "llvm/Assembly/PrintModulePass.h"
-#include "llvm/DebugInfo.h"
-#include "llvm/DIBuilder.h"
-#include "llvm/Linker.h"
-#endif
 
 // Used by RustMCJITMemoryManager::getPointerToNamedFunction()
 // to get around glibc issues. See the function for more information.