flow: save and restore the big_expression_stack when processing inlines
commit47935b66f6b9d50b06a2456e76706b243a477261
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Mar 2013 12:33:31 +0000 (14 15:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Mar 2013 12:33:31 +0000 (14 15:33 +0300)
tree75b2af3491b2dcd76b42ffa55baec1b1d4ceccbf
parent8a14f53700f8a1d74eb2debd8bcd8ebd20fed12d
flow: save and restore the big_expression_stack when processing inlines

This was a simple over sight.  It causes a bug when we look at the big
expression stack to see if a function call is assigned to something.  It
means we query the database twice.

I don't know if this affects any of the shipping Smatch checks but querying
the database twice affects one of my checks that I haven't pushed yet.

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