7968ea8b1f
These were introduced in https://dart-review.googlesource.com/c/sdk/+/287601 to allow the common front end to report back to the shared analysis logic when it desugars a guard expression, so that flow analysis will properly account for any promotions made by the guard expression; previously, if a guard expression got desugared by the front end, promotions performed by the guard would be lost. In https://dart-review.googlesource.com/c/sdk/+/298840, we've switched to a more general technique for ensuring that promotions performed by the guard will not be lost: now the `dispatchExpression` method uses `FlowAnalysis.forwardExpression` to compensate for the differences in the conventions of the CFE and the shared logic, so that the shared logic no longer needs access to the desugared expression. So the `head` parameter (and the associated return value) are no longer needed. In a future change, I plan to adjust the CFE conventions to match those of the shared logic, so that `FlowAnalysis.forwardExpression` won't be needed at all (see https://github.com/dart-lang/sdk/issues/52189). Change-Id: I686d1d5b7e4c9db353f583c38792274451f9f8bb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/302366 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Paul Berry <paulberry@google.com>