diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-04-08 14:56:36 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-04-08 14:56:36 +0100 |
commit | 5bbf240f342212ae0c29c37132ae2aa3f821f701 (patch) | |
tree | 64aeaa1daa5783094727960fd58b6d0be57d2f9b /lib/Core | |
parent | 386d972fbbb6064eff394c687d427d4385f95716 (diff) | |
download | klee-5bbf240f342212ae0c29c37132ae2aa3f821f701.tar.gz |
Remove computation of ``isLocal`` that is always true when handling
AllocaInst.
Diffstat (limited to 'lib/Core')
-rw-r--r-- | lib/Core/Executor.cpp | 3 |
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; } |