Enabling llvm 3.4

This commit is contained in:
Dmitry Babokin
2013-05-13 19:25:31 +04:00
parent d958b0b9d6
commit b6b9daa3c5
7 changed files with 21 additions and 21 deletions

View File

@@ -3293,7 +3293,7 @@ FunctionEmitContext::CallInst(llvm::Value *func, const FunctionType *funcType,
// alias analysis.
// TODO: what other attributes needs to be copied?
// TODO: do the same for varing path.
#if defined (LLVM_3_3)
#if !defined (LLVM_3_1) && !defined (LLVM_3_2) // LLVM 3.3+
llvm::CallInst *cc = llvm::dyn_cast<llvm::CallInst>(ci);
if (cc &&
cc->getCalledFunction() &&