aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Core')
-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;
}