mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:47:36 +00:00
5ea90ee907
* Update tearoff runtime equality algorithm with newly specified requirements. * Update kernel golden files for the dartdevc target to include the static method lowering for constructor tearoffs. * Avoid adding source maps and debug symbols to the static methods created by the CFE lowering. * Add additional expected non-nullable values detected in the nullable inference tests. These correspond to the values that appear in the static method return statements. Measurements taken from large applications show the lowering causes a code size increase of 2.5%-3.5%. That increase did not appear to create any measurable difference in initial page load time but if there turns out to be a regression we can revisit each of the various lowerings to implement support in DDC at the site where the constructor is torn off. Fixes: https://github.com/dart-lang/sdk/issues/46486 Fixes: https://github.com/dart-lang/sdk/issues/46837 Change-Id: I01fa39d4f1d0e937919dd1466bb6a34c91a10e75 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206960 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Reviewed-by: Anna Gringauze <annagrin@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md | ||
BUILD.gn |