Save AST in function entry for inlining.