1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Userland/Libraries/LibWasm
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 LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
Parser AK: Rename Vector::append(Vector) => Vector::extend(Vector) 2021-06-12 13:24:45 +02:00
Printer LibWasm: Jump to the default label in br_table with negative values 2021-07-06 17:55:00 +04:30
Tests Meta+LibWasm: Add support for module linking tests 2021-06-22 00:26:25 +04:30
CMakeLists.txt LibWasm: Remove empty AbstractMachine/Interpreter.cpp 2021-06-20 01:49:56 +01:00
Constants.h LibWasm: Use AK::StackInfo to track stack size 2021-07-12 18:42:45 +04:30
Opcode.h LibWasm: Parse the "extend" set of instructions 2021-06-02 16:09:16 +04:30
Types.h LibWasm+wasm: Switch to east-const to comply with project style 2021-06-04 16:07:42 +04:30