ladybird/Libraries/LibWasm/Forward.h
Ali Mohammad Pur f181d24dc0 LibWasm: Prepare for VM and direct function calls
Introduce MemoryBuffer, a memory backing store that uses mmap to reserve
the full wasm32 address space (4 GiB + guard pages) upfront, growing
without a copy and falling back to a ByteBuffer when mmap fails.
Also let Frame know how to handle non-owned locals (to e.g. allow
allocating them on the native stack.)
2026-05-10 16:41:42 +02:00

23 lines
300 B
C++

/*
* Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Wasm {
class AbstractMachine;
class Validator;
struct ValidationError;
struct Interpreter;
class MemoryBuffer;
namespace Wasi {
struct Implementation;
}
}