diff options
| author | Sebastian Poeplau <sebastian.poeplau@eurecom.fr> | 2018-07-25 14:56:39 +0200 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-09-03 19:16:15 +0100 |
| commit | 5a4823df4f3ead642e4a6e84a972db5ed61a075a (patch) | |
| tree | 040ae71f53609017471f568095de24c3359a5d5f /lib/Core/PTree.h | |
| parent | 97e87ce0bed503b3e13b4d161e25bed1e47cd31e (diff) | |
| download | klee-5a4823df4f3ead642e4a6e84a972db5ed61a075a.tar.gz | |
Fix PTree::remove to clean the tree properly
The previous version left unnecessary intermediate nodes behind, sometimes leading to very long paths in the tree.
Diffstat (limited to 'lib/Core/PTree.h')
| -rw-r--r-- | lib/Core/PTree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/PTree.h b/lib/Core/PTree.h index b1b6e9fc..3d87611d 100644 --- a/lib/Core/PTree.h +++ b/lib/Core/PTree.h @@ -49,7 +49,7 @@ namespace klee { void attach(PTreeNode *node, ExecutionState *leftState, ExecutionState *rightState); - static void remove(PTreeNode *node); + void remove(PTreeNode *node); void dump(llvm::raw_ostream &os); std::uint8_t getNextId() { std::uint8_t id = 1 << registeredIds++; |
