about summary refs log tree commit diff homepage
path: root/lib/Core/PTree.cpp
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2021-12-21 13:59:30 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-01-05 22:36:54 +0000
commit27cfe79c1867ece6edf0c4a4bfcbdecf01020774 (patch)
tree08b204208a9b29efd114ae8d4d201519d5180869 /lib/Core/PTree.cpp
parent62e27ff8cad97c12f3051a5fdcf8cd4aade96894 (diff)
downloadklee-27cfe79c1867ece6edf0c4a4bfcbdecf01020774.tar.gz
introduce BranchTypes
Diffstat (limited to 'lib/Core/PTree.cpp')
-rw-r--r--lib/Core/PTree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/PTree.cpp b/lib/Core/PTree.cpp
index af5dbc36..6c17e296 100644
--- a/lib/Core/PTree.cpp
+++ b/lib/Core/PTree.cpp
@@ -36,7 +36,8 @@ PTree::PTree(ExecutionState *initialState)
   initialState->ptreeNode = root.getPointer();
 }
 
-void PTree::attach(PTreeNode *node, ExecutionState *leftState, ExecutionState *rightState) {
+void PTree::attach(PTreeNode *node, ExecutionState *leftState,
+                   ExecutionState *rightState, BranchType reason) {
   assert(node && !node->left.getPointer() && !node->right.getPointer());
   assert(node == rightState->ptreeNode &&
          "Attach assumes the right state is the current state");