mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWasm: Replace memory write macros with templated functions
This commit is contained in:
parent
b6381f785d
commit
4060f18d7e
2 changed files with 78 additions and 76 deletions
|
@ -37,6 +37,8 @@ protected:
|
|||
void branch_to_label(Configuration&, LabelIndex);
|
||||
template<typename ReadT, typename PushT>
|
||||
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 call_address(Configuration&, FunctionAddress);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue