db: use in-memory database
commit75661b5bd82cc67c9304928d1d8a4ad67ae36a61
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2013 12:05:15 +0000 (20 15:05 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 20 Feb 2013 12:05:15 +0000 (20 15:05 +0300)
treeaddc21b81c96f19f355ce655847b397505db2d70
parentfea5ac3279d1689dff2be60c08699869863614eb
db: use in-memory database

We've got the in-memory database initialized and loaded with data so now
we can finally use it.  :)

Basically if the function is inlinable() the we prefer use the in-memory
database and return.  Otherwise use the on-disk database.

The one which is a bit different is for caller info where we check that
we are inside an inlined function and we use the call expression saved in
__inline_fn to get the caller_info.

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