add preliminary support for inlining function calls