From bf6df4192e9404432ff8c787475b352d475ceb85 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Thu, 5 Dec 2013 21:48:38 +0100 Subject: Deprecate LLVM 2.8 and lower --- lib/Expr/Expr.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Expr/Expr.cpp') diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp index a28ad907..82c60205 100644 --- a/lib/Expr/Expr.cpp +++ b/lib/Expr/Expr.cpp @@ -354,11 +354,7 @@ void ConstantExpr::toString(std::string &Res, unsigned radix) const { ref ConstantExpr::Concat(const ref &RHS) { Expr::Width W = getWidth() + RHS->getWidth(); APInt Tmp(value); -#if LLVM_VERSION_CODE <= LLVM_VERSION(2, 8) - Tmp.zext(W); -#else Tmp=Tmp.zext(W); -#endif Tmp <<= RHS->getWidth(); Tmp |= APInt(RHS->value).zext(W); -- cgit 1.4.1