-
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] inlining heuristics for generative constructor factory
Account for the size of the a generative constructor factory. The factory evaluates all the initializers up the inheritance/mixin chain, allocates the object, and then calls all the constructors down the inheritance chain. All this is missed by the old code looking at the immediate constructor body, sometimes causing extremely large constructors to be inlined. Change-Id: I8803b0f4b4155dec0f7878fd5527c1dd507b9c80 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153560 Commit-Queue: Stephen Adams <[email protected]> Reviewed-by: Mayank Patke <[email protected]>
- Loading branch information
1 parent
9f8aaf6
commit cf7a63a
Showing
3 changed files
with
191 additions
and
13 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
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
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