emit only necessary return proxying code when outlining