about summary refs log tree commit diff homepage
path: root/lib/Expr/Expr.cpp
diff options
context:
space:
mode:
authorMartinNowack <martin.nowack@gmail.com>2013-12-06 02:47:22 -0800
committerMartinNowack <martin.nowack@gmail.com>2013-12-06 02:47:22 -0800
commit02fa9e4d83a04f50cb1ad24b543a2fd5002fa2f3 (patch)
tree0fea2f6750aa8cc139c4d55260b5cd8a0814bf33 /lib/Expr/Expr.cpp
parent6d19d31eed55e18709c95363beafe8f679d6070c (diff)
parent10c1cd55ff47d6c55294db3e13c255ae91dea962 (diff)
downloadklee-02fa9e4d83a04f50cb1ad24b543a2fd5002fa2f3.tar.gz
Merge pull request #72 from MartinNowack/deprecate_llvm28
Deprecate LLVM 2.8 and lower and remove support for it
Diffstat (limited to 'lib/Expr/Expr.cpp')
-rw-r--r--lib/Expr/Expr.cpp4
1 files changed, 0 insertions, 4 deletions
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> ConstantExpr::Concat(const ref<ConstantExpr> &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);