1b38b85223
As part of making the compiler and other subsystems independent of `Isolate` we have to move various state from `Isolate` to `IsolateGroup` (or to another place). Part of that is `Isolate::reload_context()`. In order to avoid name conflict of what a `reload_context()` is, we separate it into `reload_context()` and `program_reload_context()` where the former contains GC information and the latter contains information about changes in program structure. Issue https://github.com/dart-lang/sdk/issues/36097 TEST=Pure refactoring - relying on existing test coverage. Change-Id: I7e1b732ce8b34c8842718699d618be542bd59ff6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/177863 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Alexander Aprelev <aam@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>