diff options
author | Andrea Mattavelli <andreamattavelli@users.noreply.github.com> | 2017-07-24 16:17:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 16:17:04 +0200 |
commit | 769bd87658d3445af6770cadb1fe50edea833d15 (patch) | |
tree | 685a818fd4a7336232168fde9b86eb229b23e730 /lib/Expr/Expr.cpp | |
parent | 9fb2f5666d5f8c7c2f335fc8408883a0cf958964 (diff) | |
parent | 72ea2c66dd4da5971914dce334138f2d5f8db19a (diff) | |
download | klee-769bd87658d3445af6770cadb1fe50edea833d15.tar.gz |
Merge pull request #713 from MartinNowack/remove_llvm_29_33
Remove support for LLVM < 3.4
Diffstat (limited to 'lib/Expr/Expr.cpp')
-rw-r--r-- | lib/Expr/Expr.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp index ac50dda2..f73d1614 100644 --- a/lib/Expr/Expr.cpp +++ b/lib/Expr/Expr.cpp @@ -10,9 +10,7 @@ #include "klee/Expr.h" #include "klee/Config/Version.h" -#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 1) #include "llvm/ADT/Hashing.h" -#endif #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" // FIXME: We shouldn't need this once fast constant support moves into @@ -184,11 +182,7 @@ unsigned Expr::computeHash() { } unsigned ConstantExpr::computeHash() { -#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 1) hashValue = hash_value(value) ^ (getWidth() * MAGIC_HASH_CONSTANT); -#else - hashValue = value.getHashValue() ^ (getWidth() * MAGIC_HASH_CONSTANT); -#endif return hashValue; } |