diff options
| author | Lukas Wölfer <lukas.woelfer@rwth-aachen.de> | 2019-08-23 14:46:46 +0200 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-11-28 17:27:13 +0000 |
| commit | 0de67b9f0c3f7f331f873f19561aef311d2bed4a (patch) | |
| tree | 238e2d5d4b1faaa447fb883caf2f5a6e8fdb42c2 /lib/Core/Executor.cpp | |
| parent | 31d4d0830add0987f64fd0b6ff2dadd6de387697 (diff) | |
| download | klee-0de67b9f0c3f7f331f873f19561aef311d2bed4a.tar.gz | |
Move merging related code from Executor into MergingSearcher
Co-authored-by: Felix Rath <felix.rath@comsys.rwth-aachen.de>
Diffstat (limited to 'lib/Core/Executor.cpp')
| -rw-r--r-- | lib/Core/Executor.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 7ea3aa3b..f90a8909 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -2752,12 +2752,6 @@ void Executor::updateStates(ExecutionState *current) { delete es; } removedStates.clear(); - - if (searcher) { - searcher->update(nullptr, continuedStates, pausedStates); - pausedStates.clear(); - continuedStates.clear(); - } } template <typename TypeIt> @@ -3036,29 +3030,6 @@ std::string Executor::getAddressInfo(ExecutionState &state, return info.str(); } -void Executor::pauseState(ExecutionState &state){ - auto it = std::find(continuedStates.begin(), continuedStates.end(), &state); - // If the state was to be continued, but now gets paused again - if (it != continuedStates.end()){ - // ...just don't continue it - std::swap(*it, continuedStates.back()); - continuedStates.pop_back(); - } else { - pausedStates.push_back(&state); - } -} - -void Executor::continueState(ExecutionState &state){ - auto it = std::find(pausedStates.begin(), pausedStates.end(), &state); - // If the state was to be paused, but now gets continued again - if (it != pausedStates.end()){ - // ...don't pause it - std::swap(*it, pausedStates.back()); - pausedStates.pop_back(); - } else { - continuedStates.push_back(&state); - } -} void Executor::terminateState(ExecutionState &state) { if (replayKTest && replayPosition!=replayKTest->numObjects) { |
