about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2016-04-08 18:55:43 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2016-04-08 18:55:43 +0100
commit2d448d8859f3dd0b4951f320b4fdb64a5a84c085 (patch)
tree64aeaa1daa5783094727960fd58b6d0be57d2f9b
parent386d972fbbb6064eff394c687d427d4385f95716 (diff)
parent5bbf240f342212ae0c29c37132ae2aa3f821f701 (diff)
downloadklee-2d448d8859f3dd0b4951f320b4fdb64a5a84c085.tar.gz
Merge pull request #370 from delcypher/fix_tautlogical_is_local
Remove computation of ``isLocal`` that is always true when handling
-rw-r--r--lib/Core/Executor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 47c1be02..3b2a860e 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -1926,8 +1926,7 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
       count = Expr::createZExtToPointerWidth(count);
       size = MulExpr::create(size, count);
     }
-    bool isLocal = i->getOpcode()==Instruction::Alloca;
-    executeAlloc(state, size, isLocal, ki);
+    executeAlloc(state, size, true, ki);
     break;
   }