about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2022-01-05 22:36:18 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-03-17 22:59:26 +0000
commitfcb5641d29b2e22bbd4034e51a1fe675b69bbf81 (patch)
tree6c76c73d55da287aa08d5e2a27ea702864b9d8c8 /lib
parent3ab1012ba416dfc6932f6cfa09042c2897a301a5 (diff)
downloadklee-fcb5641d29b2e22bbd4034e51a1fe675b69bbf81.tar.gz
LLVM < 6 leftovers
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/Executor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 1f1fb18c..682711d3 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -778,12 +778,7 @@ void Executor::initializeGlobalAlias(const llvm::Constant *c) {
   }
 
   // resolve aliases in all sub-expressions
-#if LLVM_VERSION_CODE >= LLVM_VERSION(4, 0)
   for (const auto *op : c->operand_values()) {
-#else
-  for (auto &it : c->operands()) {
-    const auto *op = &*it;
-#endif
     initializeGlobalAlias(cast<Constant>(op));
   }