-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dart2js] Support new method invocation encoding in static type visitor
This is the first part of using the new encodings of MethodInvocation, PropertyGet and PropertySet in dart2js. In this CL the new visitors are implemented in static_type.dart. This change is done by refactoring the existing implementation into helpers and new registration methods that can be used by both the old and the new encoding but lends itself to take advance of the new encoding. The new encoding is not enabled until all of dart2js has been migrated to the new encoding. The refactoring is intentionally not changing the outcome of the static_type.dart to make it easier to detect accidental regressions introduced by the migration. Change-Id: I93d2033969c33d4c7a5957ad7a6c0b1cdf47fe6f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184220 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>
- Loading branch information
1 parent
348c704
commit 9a74bce
Showing
5 changed files
with
597 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.