-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
experiment: lazy migration for stable memory for regions (#4171)
* lazy migration; still need to reqwrite stable mem ops * dynamically choose stablemem operations, based on current version - uses ifs consuming multiple values that trip up wasmopt (sigh) * format region.rs * update bench numbers * update heap-32 test output * workaround wasmopt bug * remove dead code * update test output * refactor (use constants for versions) * comment * refactor stablememory api and prims to simplify; delete most of region0.rs * Update test/run-drun/regions-pay-as-you-go.mo * Update test/run-drun/stable-mem-pay-as-you-go.mo * comment compile.ml/rename StableMemory->StableMemoryInterface * remove dangerous stableMemoryRegion prim (that breaks aliasing) * adjust test for removal of Regions.region0 * nuke region0.rs; change type of use_stable_regions arg to u32 (bool, really); change assert in get_region0 to debug assert for perf
- Loading branch information
Showing
29 changed files
with
550 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.