mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:31:20 +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> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
tool | ||
analysis_options.yaml | ||
dart2wasm.md | ||
OWNERS | ||
pubspec.yaml |