DescriptionGenerate better code for '==', core.identical, and dart.test.
Avoid falling back to the dart.equal runtime helper where possible based on static types. Also uses JS `==` or `===` in some cases.
Treat core.identical as a compiler intrinsic, based on type.
Make dart.test assume correct types, use dart.dtest for combined cast and nullability check only when required.
Fixes https://github.com/dart-lang/sdk/issues/29851
Fixes https://github.com/dart-lang/sdk/issues/29772
BUG=
R=jmesserly@google.com
Committed: https://github.com/dart-lang/sdk/commit/6f73694bb7b1f8782ea118cb6a9d9a0732864b8c
Patch Set 1 #Patch Set 2 : Generate better code for #Patch Set 3 : Identical, dtest #
Total comments: 49
Patch Set 4 : Address comments #
Created: 3 years, 5 months ago
(Patch set is too large to download)
Messages
Total messages: 8 (3 generated)
|