1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 17:55:06 +00:00
serenity/Userland/Libraries/LibWasm/AbstractMachine
Ali Mohammad Pur 35394dbfaa
LibWasm: Some more performance stuff (#8812)
* wasm: Don't try to print the function results if it traps

* LibWasm: Inline some very hot functions

These are mostly pretty small functions too, and they were about ~10%
of runtime.

* 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.

* LibWasm: Remove a useless use of ScopeGuard

There are no multiple exit paths in that function, so we can just put
the ending logic right at the end of the function instead.
2021-07-17 01:04:37 +04:30
..
AbstractMachine.cpp LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
AbstractMachine.h LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
BytecodeInterpreter.cpp LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
BytecodeInterpreter.h LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
Configuration.cpp LibWasm: Give traps a reason and display it when needed 2021-07-02 04:53:01 +04:30
Configuration.h LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
Interpreter.h LibWasm: Give traps a reason and display it when needed 2021-07-02 04:53:01 +04:30