Files
sdk/tests/language
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
..
2023-02-24 22:55:17 +00:00
2022-12-19 16:30:06 +00:00
2022-10-17 08:18:49 +00:00
2022-06-10 15:48:54 +00:00
2022-12-19 16:30:06 +00:00
2022-03-28 18:22:50 +00:00
2023-01-19 16:24:29 +00:00
2022-12-19 16:30:06 +00:00
2022-05-17 14:36:19 +00:00
2023-01-26 09:12:41 +00:00
2022-12-19 16:30:06 +00:00
2023-02-01 10:06:37 +00:00
2022-06-15 11:08:28 +00:00
2023-02-08 17:45:40 +00:00