dart-sdk/tests
Aske Simon Christensen c19720245c [dart2wasm] Categorize and masquerade runtime types by lookup table
This avoids virtual calls for `runtimeType` (unless the user overrides
it) and `_runtimeType` (since the internal categorization is now done
using the table instead), which saves a huge amount of space in the
global dispatch table.

It also fixes record runtime types, which now use the masqueraded
types for its fields, rather than the (possibly user-overridden)
`runtimeType`.

A masquerade case was missing for `Type`, which has been added.

Fixes https://github.com/dart-lang/sdk/issues/51134

Tested: ci + new test for overridden runtimeType
Change-Id: I1909c665ae78eb07b9c0eb22b6e8836e27495d70
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285684
Reviewed-by: Ömer Ağacan <omersa@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2023-03-09 22:08:19 +00:00
..
co19 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
co19_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
corelib Add boolean parse 2023-03-09 15:14:32 +00:00
corelib_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
dartdevc [flip-modifiers]: opt out failing ddc tests from class modifiers 2023-03-02 20:27:25 +00:00
dartdevc_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
ffi [cfe/ffi] Fix Finalizable in for( in ) loops 2023-03-02 09:05:19 +00:00
ffi_2 [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
language [dart2wasm] Categorize and masquerade runtime types by lookup table 2023-03-09 22:08:19 +00:00
language_2 Revert "Add more interface and final modifiers to dart:core." 2023-03-09 13:09:57 +00:00
lib [js] Ensure dartify / jsify have inverse semantics. 2023-03-08 00:07:42 +00:00
lib_2 [js] Ensure dartify / jsify have inverse semantics. 2023-03-08 00:07:42 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone [gardening] Make new standalone/io/exit_works_with_blocked_isolate_test be a nop in the training run 2023-03-08 10:22:46 +00:00
standalone_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
web [flip-patterns] Fix web switch tests. 2023-03-09 01:13:09 +00:00
web_2 [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.