mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:37:12 +00:00
1f6d4ae1a8
Adds @ObjectLiteral annotation to denote object literal constructors, and implements it in all the backends. For dart2js, this involves modifying the SSA and for dart2wasm, we create a one-per-shape forwarding procedure to a specialized JS method that returns the literal. This also modifies @anonymous semantics in dart2wasm to be consistent with the other backends. CoreLibraryReviewExempt: Backend-specific, just adding annotation. Change-Id: I4d7a9ea9ed097f4f378709b40f8bd74f02e26b23 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283922 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Joshua Litt <joshualitt@google.com> |
||
---|---|---|
.. | ||
analyzer | ||
async | ||
collection | ||
convert | ||
developer | ||
fix_data_tests | ||
html | ||
isolate | ||
js | ||
math | ||
mirrors | ||
typed_data | ||
web | ||
lib.status | ||
lib_analyzer.status | ||
lib_app_jit.status | ||
lib_dart2js.status | ||
lib_dartdevc.status | ||
lib_kernel.status | ||
lib_precompiled.status | ||
lib_vm.status |