mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:07:44 +00:00
LibWasm: Implement memory.grow, memory.size and drop
These allow a very basic memory-using program to work.
This commit is contained in:
parent
3402381d7a
commit
95b9821f26
3 changed files with 39 additions and 4 deletions
|
@ -34,4 +34,6 @@ static constexpr auto extern_table_tag = 0x01;
|
|||
static constexpr auto extern_memory_tag = 0x02;
|
||||
static constexpr auto extern_global_tag = 0x03;
|
||||
|
||||
static constexpr auto page_size = 64 * KiB;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue