dart-sdk/tests/dartdevc
Nicholas Shahan 027f57227f [ddc, dart2js] Add results cache to isSubtype
Optimize repetitive calls to isSubtype with a caches to store pairwise
results.

There are currently two caches for sound and unsound results but in the
future that can be combined into a single cache once the library is
aware of error reporting. That single cache could stores "pass", "fail", 
or "fails when sound mode but passes in unsound null safety".

Issue: https://github.com/dart-lang/sdk/issues/48585
Change-Id: I49e5794703fd58f1b2bba50e426e25146800fbb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/323707
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2023-09-08 18:39:53 +00:00
..
cast_error [ddc] Add library URIs to cast failure messages 2021-04-09 22:24:43 +00:00
debugger [ddc] Seal the native Object prototype in test infra 2023-08-10 19:45:59 +00:00
mixin [flip-modifiers]: opt out failing ddc tests from class modifiers 2023-03-02 20:27:25 +00:00
assertion_failure_message_test.dart
basic_assignment_test.dart
const_test.dart
developer_events_test.dart [ddc] Remove old dwds versions fallback support 2023-02-04 04:09:48 +00:00
hot_restart_expando_test.dart [ddc] Add a regression test for issue #45874 2021-05-11 22:14:28 +00:00
hot_restart_js_interop_test.dart
hot_restart_late_test.dart [ddc] Reset static fields on first get or set 2022-02-11 01:18:01 +00:00
hot_restart_static_test.dart [ddc] Adding support for static setters of const fields 2022-04-01 23:51:15 +00:00
hot_restart_test.dart
hot_restart_timer_test.dart
if_else_literal_compilation_test.dart [ddc] Avoid emitting dead branches in conditionals 2022-05-03 20:17:44 +00:00
js_interop_non_external_lib.dart [ddc] Add interop classes for static members 2022-12-08 04:57:50 +00:00
js_interop_non_external_test.dart [ddc] Add interop classes for static members 2022-12-08 04:57:50 +00:00
js_interop_test.dart [ddc] Update reified type calculation 2023-07-18 21:01:14 +00:00
libraries_part.dart
libraries_test.dart
no_such_method_errors_test.dart [ddc] Add DDC specific NSM error test cases 2023-05-01 18:39:35 +00:00
regress52688_test.dart [tests] Add regression test for DDC compiler crash 2023-06-16 22:31:26 +00:00
runtime_utils.dart
runtime_utils_nnbd.dart
subtype_test.dart
subtype_weak_test.dart
type_normalization_test.dart
utils.dart
variance_subtype_test.dart
variance_test.dart
weak_null_safety_errors_test.dart [ddc, dart2js] Add results cache to isSubtype 2023-09-08 18:39:53 +00:00