mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
LibWasm+Everywhere: Make the instruction count limit configurable
...and enable it for LibWeb and test-wasm. Note that `wasm` will not be limited by this.
This commit is contained in:
parent
70b94f58b2
commit
65cd5526cb
6 changed files with 25 additions and 3 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
explicit WebAssemblyModule(JS::Object& prototype)
|
||||
: JS::Object(prototype)
|
||||
{
|
||||
m_machine.enable_instruction_count_limit();
|
||||
}
|
||||
|
||||
static Wasm::AbstractMachine& machine() { return m_machine; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue