mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibWasm: Remove some unnecessary memory checks
Also make `store_to_memory` take a `MemoryArgument` so that we no longer have to make "synthetic instructions" in some scenarios.
This commit is contained in:
parent
56ae6b3968
commit
ea67bc989f
Notes:
sideshowbarker
2024-07-19 15:29:29 +09:00
Author: https://github.com/dzfrias
Commit: ea67bc989f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/702
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 23 additions and 74 deletions
|
@ -68,7 +68,7 @@ protected:
|
|||
Optional<VectorType> pop_vector(Configuration&);
|
||||
template<typename M, template<typename> typename SetSign, typename VectorType = Native128ByteVectorOf<M, SetSign>>
|
||||
Optional<VectorType> peek_vector(Configuration&);
|
||||
void store_to_memory(Configuration&, Instruction const&, ReadonlyBytes data, u32 base);
|
||||
void store_to_memory(Configuration&, Instruction::MemoryArgument const&, ReadonlyBytes data, u32 base);
|
||||
void call_address(Configuration&, FunctionAddress);
|
||||
|
||||
template<typename PopTypeLHS, typename PushType, typename Operator, typename PopTypeRHS = PopTypeLHS, typename... Args>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue