slist, implied: preserve the entire cur_stree in the pool for fake_strees
commit64acae4e0ef53b1e9b6060d9da3c971e2400429d
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 24 Jun 2016 09:45:44 +0000 (24 12:45 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 24 Jun 2016 09:45:44 +0000 (24 12:45 +0300)
treea8f26a78b88aaa8eb64542c2ada7c99dfa738ce9
parent792e13a0c5d90c03422d31ab92c74017b986a106
slist, implied: preserve the entire cur_stree in the pool for fake_strees

For fake strees, which are used in conditions and functions etc, we are
only interested in the states which are changed from when we first did
a push fake stree.  That's fine.

The problem is that the implied code, wants to see what the other states
were in the pool and that's not recorded.  So this patch creates a new
stree with that information.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
avl.c
avl.h
smatch_slist.c