Implement function call in compiler