Commit a4a4ca8
[dart2wasm] Dynamic modules
Missing from this implementation:
- Closure/dynamic calls with differing signatures
- Overrides with extra optional parameters
- Records with same shape defined in different dynamic modules
- Avoiding running TFA on dynamic module.
- Recompilation of only updateable functions from main module.
- Persist wasm def types from main module.
Testing is currently done locally via the dynamic_modules package test suite:
dart pkg/dynamic_modules/test/runner/main.dart --runtime=dart2wasm
Immediately after this lands we can introduce a new step to one of the wasm test matrix configurations that runs the above test suite (the VM has a similar configuration).
Change-Id: I3386d84be11b773842d45f4268a62a54c47e352b
Tested: Tested via new tests in dynamic_modules package. Tests run locally but will add to existing config.
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/397721
Reviewed-by: Martin Kustermann <[email protected]>
Commit-Queue: Nate Biggs <[email protected]>1 parent aec2f8c commit a4a4ca8
File tree
72 files changed
+4364
-793
lines changed- pkg
- dart2wasm
- bin
- lib
- js
- dynamic_modules/test
- common
- data
- closure_invocation
- modules
- dyn_module_type_checks
- modules
- extend_class_dyn_only
- modules
- extend_class_generics
- modules
- multiple_classes
- override_extra_params
- modules
- reshape_selectors
- modules
- same_record_shape
- modules
- tearoff_no_concrete_impl
- modules
- front_end/lib/src/kernel
- kernel/lib
- vm/lib/transformations
- wasm_builder/lib/src/builder
- sdk/lib/_internal/wasm/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
72 files changed
+4364
-793
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
| |||
0 commit comments