From 37e92d0c802524c19a9a84164253639aac47fee3 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sat, 22 Jul 2017 01:03:44 +0200 Subject: Remove support for LLVM < 3.4 Request LLVM 3.4 as minimal requirement for KLEE --- lib/Expr/Expr.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/Expr/Expr.cpp') 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; } -- cgit 1.4.1