0d5eec26f1
Instead of using InferenceContext.getContext and InferenceContext.setType to associate type inference information with ArgumentList nodes, we pass the contextual information around on the stack. This should be more efficient (since it avoids a map lookup), and it should make the code easier to reason about (since it makes the flow of data in the type inference process more explicit). This is part of a larger effort to elimiate the use of InferenceContext.getContext and InferenceContext.setType entirely. Change-Id: I331792cf6d7289a27fc71edfc6af33cd1af5288c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/230942 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>