From 5bbf240f342212ae0c29c37132ae2aa3f821f701 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Fri, 8 Apr 2016 14:56:36 +0100 Subject: Remove computation of ``isLocal`` that is always true when handling AllocaInst. --- lib/Core/Executor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Core') 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; } -- cgit 1.4.1