From 7fe8f20ef3b4259fb289dcf5efcff58111364838 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 13 Jun 2009 23:58:27 +0000 Subject: Switch to using constant arrays for non-symbolic objects. - Currently uses a dumb implementation which keeps the old flushing architecture, but converts to a constant array when the first ReadExpr is created. - Temporary --use-constant-arrays switch can be used to disable for testing. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73313 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Core/Executor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Core/Executor.cpp') diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 30c30928..39c6d78a 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -2952,8 +2952,8 @@ void Executor::executeMakeSymbolic(ExecutionState &state, static unsigned id = 0; const Array *array = new Array("arr" + llvm::utostr(++id), mo->size); - ObjectState *os = bindObjectInState(state, mo, false, array); - state.addSymbolic(mo, os->updates.root); + bindObjectInState(state, mo, false, array); + state.addSymbolic(mo, array); std::map< ExecutionState*, std::vector >::iterator it = seedMap.find(&state); -- cgit 1.4.1