You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dart2wasm] Don't add dispatch table entries for _WasmBase methods
Some of the `_WasmBase` subtypes are represented as unboxed Wasm values
and cannot be used as virutal method receivers.
Previously we added methods for `_WasmBase` subtypes to the dispatch
table and considered those types as receivers in dynamic invocations.
This causes bad code generation as these types do not represent Dart
objects.
With this CL we don't add `_WasmBase` subtype methods to dispatch
tables, and in dynamic invocations we don't consider `_WasmBase` types
as receivers.
New passing tests:
- language/variable/inference_captured_variable_test
- lib/typed_data/typed_data_list_test
Change-Id: I4f4145db12652133aa55dcce75acad72bb4ec48b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268761
Reviewed-by: Aske Simon Christensen <[email protected]>
Commit-Queue: Ömer Ağacan <[email protected]>
0 commit comments