dart-sdk/pkg/dart2wasm
Srujan Gaddam b372fd4c52 [CFE/pkg:js] Find reference of stub if it already exists
Fixes #49301

From https://github.com/dart-lang/sdk/issues/49301#issuecomment-1165536192

Adds referenceFromIndex to outline transformations so that the eraser
can use it to find the reference for the stub if it was already created.
This is needed when the module where the stub exists is invalidated.
Since references in other modules should still be valid, we should
attempt to get that reference.

Change-Id: I5905a002480444aecd57de650cd439bdc34d4eba
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249729
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2022-06-28 18:36:02 +00:00
..
bin [dart2wasm] Fix a number of minor JS interop issues. 2022-06-14 17:32:39 +00:00
lib [CFE/pkg:js] Find reference of stub if it already exists 2022-06-28 18:36:02 +00:00
dart2wasm.md [dart2wasm] Build platform dill and compile dart2wasm to AOT snapshots 2022-05-10 10:06:06 +00:00
OWNERS
pubspec.yaml [pkg] prefer 'any' deps for package dev dependencies 2022-05-27 01:34:59 +00:00