dart-sdk/pkg/dart2wasm
Aske Simon Christensen e08c94a651 [dart2wasm] Partially lazy constants
Make a constant lazy if it involves creating a list that is too long
for the `array.new_fixed` instruction, or, for composite constants, if
one or more of its sub-constants are lazy.

Also read lazy string constants directly from a data segment instead
of writing them to linear memory first.

Change-Id: Iea26460580e6134cd3e26eaaa84cb0dde09016dd
Cq-Include-Trybots: luci.dart.try:dart2wasm-linux-x64-d8-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261402
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2022-09-28 15:20:46 +00:00
..
bin [dart2wasm] Partially lazy constants 2022-09-28 15:20:46 +00:00
lib [dart2wasm] Partially lazy constants 2022-09-28 15:20:46 +00:00
analysis_options.yaml [pkg/dart2wasm] use package:lints for analysis 2022-07-07 00:16:01 +00:00
dart2wasm.md [dart2wasm] Partially lazy constants 2022-09-28 15:20:46 +00:00
OWNERS
pubspec.yaml [dart2wasm] Partially lazy constants 2022-09-28 15:20:46 +00:00