1
Fork 0
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:
Ali Mohammad Pur 2021-05-03 22:45:47 +04:30 committed by Andreas Kling
parent 3402381d7a
commit 95b9821f26
3 changed files with 39 additions and 4 deletions

View file

@ -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;
}