dart-sdk/pkg/vm
Ömer Sinan Ağacan 844ced8016 [dart2wasm] Move list implementations to their own library
This WasmArray-backed list classes to `dart:_list`, similar to
`dart:_string` and `dart:_typed_data`

This will allow having internally-public list members like unchecked
getters and setters that we will use in the rest of the standard
library.

This CL doesn't add anything new, just renames things.

- `dart.core._ListBase` -> `dart._list.WasmListBase`

  This is to avoid confusion with `dart.core.ListBase` (defined by Dart
  standard library), and also to be consistent with `WasmTypedDataBase`
  and `WasmStringBase`.

- `dart.core._List` -> `dart._list.ModifiableFixedLengthList`

  Similar to the above, to avoid confusion with `dart.core.List`.

- `GrowableList.ofOther` -> `GrowableList.fromIterable`

  `ofOther` sounds like it should make a growable list from another
  growable list, but the type is more general than that. To reflect what
  it actually does we call it `fromIterable`.

Tested: Existing tests.
Change-Id: I24398765e1b0d549fc70b03ba94161479c5fc54c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372622
Commit-Queue: Ömer Ağacan <omersa@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2024-06-21 14:46:58 +00:00
..
bin [pkg/kernel-service] Fix invalid index used in expression 2024-06-12 22:13:29 +00:00
lib [vm] Cleanup obsolete pragma vm:non-nullable-result-type 2024-06-20 20:24:44 +00:00
test [pkg/vm] Consolidate kernel compilation options to an object 2024-06-10 22:56:50 +00:00
testcases/transformations [dart2wasm] Move list implementations to their own library 2024-06-21 14:46:58 +00:00
tool Dynamic interface yaml file 2024-06-10 16:09:54 +00:00
analysis_options.yaml [pkg/vm] analyze using package:lints 2022-07-07 23:22:49 +00:00
dynamic_interface.md Dynamic interface yaml file 2024-06-10 16:09:54 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS Also add global owners to CFE/VM packages 2023-11-27 14:35:52 +00:00
pubspec.yaml [vm] Use newer language version in package:vm which removes some unnecessary casts 2024-05-16 08:57:40 +00:00
README.md

This package hosts VM specific Dart code and helper scripts.