LibWasm: Implement memory.init and passive mode data

This commit is contained in:
Ali Mohammad Pur 2021-12-04 17:56:58 +03:30 committed by Ali Mohammad Pur
commit b5ca290605
Notes: sideshowbarker 2024-07-17 22:32:37 +09:00
5 changed files with 88 additions and 11 deletions

View file

@ -39,7 +39,7 @@ protected:
void load_and_push(Configuration&, Instruction const&);
template<typename PopT, typename StoreT>
void pop_and_store(Configuration&, Instruction const&);
void store_to_memory(Configuration&, Instruction const&, ReadonlyBytes data);
void store_to_memory(Configuration&, Instruction const&, ReadonlyBytes data, i32 base);
void call_address(Configuration&, FunctionAddress);
template<typename PopType, typename PushType, typename Operator>