Paul Berry
e1d3186ed9
Make declarations in provisional_api_test.dart private.
...
I'm going to do some refactoring in future CLs that may make some of
these classes and/or methods unnecessary. Making them private will
help highlight when things become unnecessary (because it will allow
dead code hints to be triggered).
Change-Id: I201bf5be0131e69af00789308e17926d98db6f5b
Reviewed-on: https://dart-review.googlesource.com/c/93369
Auto-Submit: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-18 18:20:53 +00:00
Paul Berry
bb76970857
Sort provisional_api_test.dart
...
Change-Id: Iab154cc9288758251c29d8f89bab835769c5ce24
Reviewed-on: https://dart-review.googlesource.com/c/93482
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-18 18:17:13 +00:00
Stephen Adams
db71576ef3
[dart2js] Generator bodies can be on super mixin applications
...
Bug: 35965
Change-Id: Ib611ba596d5778b6da2131e4712bfa669cf5e2b3
Reviewed-on: https://dart-review.googlesource.com/c/93465
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2019-02-18 16:57:23 +00:00
Stephen Adams
711dd8e82e
[dart2js] Avoid generating 'return' statement in setter
...
Setters don't need to return anything. Recognize the
ir.ReturnStatement in
set foo(x) => this._foo = x;
This reduces some large apps that use that style by a few KB.
Change-Id: I87edced1024ab6e596564fa748484d9e07f9f2d7
Reviewed-on: https://dart-review.googlesource.com/c/93368
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2019-02-18 16:54:03 +00:00
Aske Simon Christensen
f4b649ca4f
[CFE] Propagate unevaluated constants upward.
...
When evaluating a constant expression, first evaluate all children.
If any of these turn out to be unevaluated, produce a partially
evaluated clone of the expression as a new unevaluated constant.
For lazy operators, if the left-hand side turns out unevaluated, the
right-hand side is included unmodified (not partially evaluated) in
the resulting unevaluated constant expression tree.
The implementation is optimized for the typical case of no unevaluated
constants. The intent is that the handling of unevaluated constants
introduces as little overhead as possible in this case.
Change-Id: Ief8d36357fac01c07bc0049aede0888cd3bc7999
Reviewed-on: https://dart-review.googlesource.com/c/93029
Commit-Queue: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-02-18 15:21:03 +00:00
Aske Simon Christensen
5e70883859
[CFE] Refactor unevaluatedArguments
...
Change-Id: Ia4e108ceb2c37c3e73990f08d249db2360f38e4e
Reviewed-on: https://dart-review.googlesource.com/c/93032
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-02-18 15:21:03 +00:00
Aske Simon Christensen
cba4168da3
[CFE] Use _evaluateSubexpression in more places.
...
Change-Id: I48053fe01c5466326aed26768c4a308570e2dbdf
Reviewed-on: https://dart-review.googlesource.com/c/92781
Reviewed-by: Peter von der Ahé <ahe@google.com >
2019-02-18 15:21:03 +00:00
Johnni Winther
8e5f644d0a
Use constant evaluation in allocator analysis
...
Change-Id: I93543c7f295d4b325a34ced632c2d0a7555391e6
Reviewed-on: https://dart-review.googlesource.com/c/92421
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Stephen Adams <sra@google.com >
2019-02-18 13:18:31 +00:00
Daco Harkes
620743fb6b
[vm/ffi] void functions
...
Change-Id: I1544e0985d934dfa354143764dee61feb08b2592
Reviewed-on: https://dart-review.googlesource.com/c/93422
Auto-Submit: Daco Harkes <dacoharkes@google.com >
Reviewed-by: Samir Jindel <sjindel@google.com >
Commit-Queue: Samir Jindel <sjindel@google.com >
2019-02-18 13:15:21 +00:00
Johnni Winther
885f1cbe31
Fix constant folding of type literal equality
...
Closes #35853
Change-Id: I1c6caa1c8e074e8fd80c47699d6b0837bec166e0
Reviewed-on: https://dart-review.googlesource.com/c/92422
Reviewed-by: Stephen Adams <sra@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-02-18 10:34:20 +00:00
Jens Johansen
3638e433ce
Change how DDC writes text when summarize-text is enabled
...
The old way is very ineffecient (many small writes to the file system).
Initial build time for (redacted?) goes from ~40 seconds to ~19 seconds.
Change-Id: Id098f51f43627c5b0768ab9686caab26ba946caa
Reviewed-on: https://dart-review.googlesource.com/c/93411
Reviewed-by: Jenny Messerly <jmesserly@google.com >
Commit-Queue: Jens Johansen <jensj@google.com >
2019-02-18 07:57:00 +00:00
Paul Berry
26970f370c
Move source out of PotentialModification.
...
Rather than have each PotentialModification keep track of its own
source, it's less wasteful to keep track of a map from each source to
a list of the potential modifications for that source.
Change-Id: Ib579f5159100195496a850fbf795b073fc927110
Reviewed-on: https://dart-review.googlesource.com/c/93466
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-02-18 00:34:40 +00:00
Brian Wilkerson
f20ee58aa7
Remove references to the set-literals experiment
...
Change-Id: I3e151da8ea5c160a0945199f34ca3c0c9d949a3b
Reviewed-on: https://dart-review.googlesource.com/c/93464
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-02-16 15:42:48 +00:00
Paul Berry
7d7d85ffa2
Change the default assumption for named parameters to "assume nullable".
...
If a named parameter has no default value, the default behavior is now
to assume that the parameter is meant to be nullable, even if no code
path can be found that passes null.
This was inspired by discussion with Matan and Ferhat--they were
concerned that users would see the migration tool changing parameters
to required that shouldn't actually be required, and react by adding
special sentinel default values. This is not what we want to
encourage users to do; if the parameter is truly meant to be optional,
it is sensible for it to be nullable.
I will soon add logic that allows non-null intent to override this
behavior; this means that if the user asserts that the parameter is
non-null, or uses the parameter in such a way that a null value would
guaranteed to cause an exception, we'll take that as an indication
that they really mean for it to be required.
Change-Id: Iff388d0316b922d2bacae330d94bec65478d8ee0
Reviewed-on: https://dart-review.googlesource.com/c/93366
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-02-16 13:35:48 +00:00
Paul Berry
fa8c552fd9
Propagate non-null intent from callee to caller.
...
Change-Id: If0095584d6d0b88e7c39b9871795c499380b636c
Reviewed-on: https://dart-review.googlesource.com/c/93364
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-02-16 13:35:48 +00:00
Paul Berry
ab38cf7897
Allow non-nullable usage to imply non-null intent.
...
If a method parameter is used in unconditional control flow in a way
that a `null` value would directly lead to an exception (i.e. by
dereferencing it, or by passing it to a method that requires a
non-nullable value), this is treated as implying that the method
parameter is intended to be non-nullable.
Change-Id: I4f55e4c95b3cfaee0a2ba9367b47d51083e0b7b1
Reviewed-on: https://dart-review.googlesource.com/c/93363
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-02-16 13:35:48 +00:00
Jenny Messerly
24928ffcef
[dartdevc] hide summarize-text option and change default to off
...
This option was useful early in development of DDC's Kernel backend, but
it shouldn't be turned on for users (we may want to remove it entirely).
Change-Id: Ie89115f6d3b9884762968e8e40bffa67799af988
Reviewed-on: https://dart-review.googlesource.com/c/93463
Auto-Submit: Jenny Messerly <jmesserly@google.com >
Reviewed-by: Vijay Menon <vsm@google.com >
Commit-Queue: Vijay Menon <vsm@google.com >
2019-02-16 01:50:17 +00:00
Mayank Patke
6b5424a7e7
Use SSA nodes to infer map key/value types.
...
This consolidates our logic for inferring element types for lists, sets,
and maps.
Change-Id: Ic57a3d857e2462f11482e8b89d884a5537f5eb90
Reviewed-on: https://dart-review.googlesource.com/c/93367
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Mayank Patke <fishythefish@google.com >
2019-02-15 23:50:27 +00:00
Stephen Adams
1ac61b0c35
[dart2js] Basic chaining of field assignments
...
t4 = t3.tooltip;
t2._tooltipText = t4;
this.currenttooltip = t4;
--->
this.currenttooltip = t2._tooltipText = t3.tooltip;
future = new P._Future(0, $.Zone__current, [P.bool]);
this._stateData = future;
return future;
--->
return this._stateData = new P._Future(0, $.Zone__current, [P.bool]);
Change-Id: I8a1c4dae85b8a10f8b2c099668033f0c1ea9b6c4
Reviewed-on: https://dart-review.googlesource.com/c/93342
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 22:45:46 +00:00
Konstantin Shcheglov
8cb4d00b0b
Remove compareXyz() methods from ResynthesizeTestHelpers.
...
With task model being removed, there is nothing to compare to.
We now use just textual dumps of library elements.
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: I5693548b8b71dd1318d761dcacbaf88a376a2f54
Reviewed-on: https://dart-review.googlesource.com/c/93321
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-15 22:32:37 +00:00
Paul Berry
936b1c0404
Rename _mockOr to _either.
...
This makes the migration unit tests a little easier to read.
Change-Id: I2ae53c1d1a6c893888b02fcd0e68053c4d4c6cc3
Reviewed-on: https://dart-review.googlesource.com/c/93362
Auto-Submit: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-15 22:21:17 +00:00
Alexander Markov
046928d502
[vm/kernel] Ignore package URIs when converting main script to package URI
...
If main script is specified as a 'package:' URI, kernel compiler
should not try to convert it to 'package:' URI using --packages file.
Bug: FL-186
Change-Id: I65e8825470ca08b5dd1ae5bd30cf4f5699d6d03c
Reviewed-on: https://dart-review.googlesource.com/c/93365
Reviewed-by: Zach Anderson <zra@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2019-02-15 20:48:51 +00:00
Mayank Patke
99a5057bca
Add set tracing.
...
Change-Id: I889c5ac8d6207c9a25721d939b0f01b4e945a940
Reviewed-on: https://dart-review.googlesource.com/c/92149
Commit-Queue: Mayank Patke <fishythefish@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
c291757bed
Finish handling SetLiterals in the inferrer and SSA builder kernels.
...
Change-Id: I9e8a537e57eb51195b57bb2dccb64c9730c553f9
Reviewed-on: https://dart-review.googlesource.com/c/92148
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
d11dd982dd
Add typeinfo for sets and their elements and start tracing them in the inferrer.
...
Change-Id: Ib9a4e46b77a15ab17396d519166969a221b63da4
Reviewed-on: https://dart-review.googlesource.com/c/92168
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
61ab8e7816
Add kernel and backend impacts for set literals.
...
Change-Id: Id4eca9807b8170ef9c81b7d66236530802a2960c
Reviewed-on: https://dart-review.googlesource.com/c/92167
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
d87482a3e1
Add SetLiteralUse and start tracking them in resolution.
...
Change-Id: Ib5f36a2e24631007a4ddb9c9779abcc892a6f7c0
Reviewed-on: https://dart-review.googlesource.com/c/92166
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
97bfcd4a3a
Add remaining support for sets to the abstract value domain. This lets us create set values and access their element types in the inferrer.
...
Change-Id: Ic2fd082e0ecb043a4c47db48e57ff8d6f2ae1c84
Reviewed-on: https://dart-review.googlesource.com/c/92147
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
e53cd30112
Add SetTypeMask.
...
Change-Id: I9f202506c364cc1387efa8cea4cca6038f350470
Reviewed-on: https://dart-review.googlesource.com/c/92146
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
15cd12beb4
Add SetConstantValue and SetConstantExpression plus their visitors.
...
Change-Id: I0580d773c7ec358d67e1ca2e504836b58fb258f3
Reviewed-on: https://dart-review.googlesource.com/c/92145
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
c841f050c0
Add set types to the abstract value domain. We cannot yet allocate sets.
...
Change-Id: I7012d69d877884dbba1019b35d61a8d05d7ac668
Reviewed-on: https://dart-review.googlesource.com/c/92164
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
51db39a6ae
Implement basic SetLiteral visitors. Builder kernels will come later.
...
Change-Id: Iaab7d73cbc5f15d3b8d5ade49ccee9df1db13ff6
Reviewed-on: https://dart-review.googlesource.com/c/92163
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Mayank Patke
a164e95582
Update CommonElements with set types.
...
Change-Id: I2f26b565d367346f1de431c90ad2a8cacdf2156c
Reviewed-on: https://dart-review.googlesource.com/c/92162
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-02-15 20:44:46 +00:00
Konstantin Shcheglov
fd8b546800
Issue 35940. Clear evaluation results for constants in the library being analyzed.
...
R=brianwilkerson@google.com , paulberry@google.com
Bug: https://github.com/dart-lang/sdk/issues/35940
Change-Id: Ife6199d344a197242c50020337d0e2854a72eef9
Reviewed-on: https://dart-review.googlesource.com/c/93340
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-15 16:46:46 +00:00
Konstantin Shcheglov
39afa4e555
Revert "Add ExecutableElement(s) based InheritanceManager3, and switch analyzer to it."
...
This reverts commit 5d6bab4ed2 .
Reason for revert: this change is API incompatible when rolling into mono-repo.
Original change's description:
> Add ExecutableElement(s) based InheritanceManager3, and switch analyzer to it.
>
> Change-Id: I9d87619e05ae769f4df6a6ba26cd7901c7c98510
> Reviewed-on: https://dart-review.googlesource.com/c/93141
> Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
TBR=scheglov@google.com ,brianwilkerson@google.com
Change-Id: I98d478f56e8aea037cbcc8b6cb940c36edb732fd
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/93440
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-15 16:38:08 +00:00
Konstantin Shcheglov
078f8e67f8
Tests for invalid library id, and requested name.
...
R=brianwilkerson@google.com
Change-Id: I75c7445bd2e9e25805c8789af9e648a3000b0668
Reviewed-on: https://dart-review.googlesource.com/c/93381
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-15 16:35:56 +00:00
Brian Wilkerson
122aa43ef6
Convert ListLiteral and remove uses of ListLiteral2
...
Change-Id: I6c6f60ae969deb798cdbc8572341f2a51256b194
Reviewed-on: https://dart-review.googlesource.com/c/93341
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-02-15 16:17:28 +00:00
Peter von der Ahé
5622925369
Test of class hierachy from dill file
...
Change-Id: Ib6a8916fd096e4a9a417dbef8a3519ffe1a595aa
Reviewed-on: https://dart-review.googlesource.com/c/93408
Reviewed-by: Jens Johansen <jensj@google.com >
2019-02-15 14:18:29 +00:00
Peter von der Ahé
f4379435dd
Implement DillClassBuilder.typeVariables
...
Change-Id: I82416e5b34c0b63dc3106f88c437c488be0ffbbc
Reviewed-on: https://dart-review.googlesource.com/c/93406
Reviewed-by: Jens Johansen <jensj@google.com >
Commit-Queue: Peter von der Ahé <ahe@google.com >
2019-02-15 11:58:30 +00:00
Daco Harkes
20c3cd62fc
Revert adding dart:ffi to core_types and fasta kernel_target
...
Change-Id: I0c8a05cf8715962ab6ebe787dafd14fe611a8a0e
Reviewed-on: https://dart-review.googlesource.com/c/93172
Commit-Queue: Daco Harkes <dacoharkes@google.com >
Reviewed-by: Peter von der Ahé <ahe@google.com >
2019-02-15 10:14:00 +00:00
Kevin Moore
b15fe3a994
pkg:kernel: fix path to pkg:test in pubspec
...
Change-Id: I1518b916433746f75514f27fdc1456ac535a6dcb
Reviewed-on: https://dart-review.googlesource.com/c/93300
Auto-Submit: Kevin Moore <kevmoo@google.com >
Reviewed-by: Peter von der Ahé <ahe@google.com >
Commit-Queue: Peter von der Ahé <ahe@google.com >
2019-02-15 06:42:44 +00:00
Alan Knight
65290f6e6a
Add an option for reusing the previous compiler state in a worker
...
Change-Id: Iaac1aedc290611183833122fb269ee225b273e56
Reviewed-on: https://dart-review.googlesource.com/c/93144
Reviewed-by: Jenny Messerly <jmesserly@google.com >
Commit-Queue: Alan Knight <alanknight@google.com >
2019-02-15 00:37:11 +00:00
Konstantin Shcheglov
c8abe45b00
Retry 'getSuggestionDetails' on InconsistentAnalysisException.
...
I was not able to create a test that triggers it, but I saw this
exception sometimes while using it myself.
R=brianwilkerson@google.com
Change-Id: Ia8773a9914b03e73622d5e59f570006723426d42
Reviewed-on: https://dart-review.googlesource.com/c/93281
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-14 23:02:11 +00:00
Konstantin Shcheglov
54dbc0068a
Migrate resynthesizer tests from task model.
...
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: I2eebe3ee5b9a934e5991d068e0422533545c2e1c
Reviewed-on: https://dart-review.googlesource.com/c/93260
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-14 22:09:59 +00:00
Jaime Wren
48f7364d7b
Remove the UX experiment 2 flag from the Dart Analysis Server.
...
The detachable file system manager feature is now a feature of the Dart Analysis Server, when starter.detachableFileSystemManager has been set.
Support originally added in https://dart-review.googlesource.com/c/sdk/+/73689/ under the --ux-experiment-2 flag.
Change-Id: I26e82e44891d31bf1a1b7399ef5d79e98bc62e7c
Reviewed-on: https://dart-review.googlesource.com/c/93283
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Jaime Wren <jwren@google.com >
2019-02-14 20:33:59 +00:00
Paul Berry
6c96ff0145
Test case reproducing issue #35940
...
Change-Id: I6ec0556c0ec42971dee67a784c7c5f884862ac03
Reviewed-on: https://dart-review.googlesource.com/c/93284
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-02-14 20:22:31 +00:00
Samir Jindel
3b2144fa93
[vm] Respect entry-point annotation on constructors during obfuscation.
...
Change-Id: Ia61d582fb6dd647b8fcab051b57ff08682076d9d
Cq-Include-Trybots: luci.dart.try:vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-mac-release-simarm64-try, vm-kernel-precomp-win-release-x64-try, vm-kernel-precomp-obfuscate-linux-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/93225
Commit-Queue: Samir Jindel <sjindel@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2019-02-14 20:18:19 +00:00
Konstantin Shcheglov
d1b15cc92c
Support for FieldFormalParameter in SyntacticScopeNamesCollector.
...
R=brianwilkerson@google.com
Change-Id: I2d1311de5c373bf81034e7764086ad09ac22a041
Reviewed-on: https://dart-review.googlesource.com/c/93280
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-02-14 19:26:29 +00:00
Konstantin Shcheglov
5d6bab4ed2
Add ExecutableElement(s) based InheritanceManager3, and switch analyzer to it.
...
Change-Id: I9d87619e05ae769f4df6a6ba26cd7901c7c98510
Reviewed-on: https://dart-review.googlesource.com/c/93141
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-02-14 18:11:18 +00:00
Samir Jindel
ae7bf9e999
[vm] Support closurization of methods through @pragma entry-points.
...
Fixes dartbug.com/35720.
Also enable native extensions in AOT.
Increases Flutter Gallery snapshot size by 0.19%.
Change-Id: I1b24c3b9a49a13fd48452e9a89595516a7f01780
Cq-Include-Trybots: luci.dart.try:vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-mac-release-simarm64-try, vm-kernel-precomp-win-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/92283
Commit-Queue: Samir Jindel <sjindel@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
2019-02-14 17:47:28 +00:00