6f73694bb7
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 Review-Url: https://codereview.chromium.org/2926613003 .