Generate code for tail call.