1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00
serenity/Userland/Libraries/LibWeb/WebAssembly
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
..
WebAssemblyInstanceConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WebAssemblyInstanceConstructor.h LibWeb: Add the WebAssembly.Instance constructor 2021-07-02 04:53:01 +04:30
WebAssemblyInstanceObject.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WebAssemblyInstanceObject.h LibWeb: Split the WebAssemblyInstance object logic into multiple files 2021-07-02 04:53:01 +04:30
WebAssemblyInstanceObjectPrototype.cpp LibJS: Remove the default length & attributes from define_native_* 2021-07-06 14:20:30 +01:00
WebAssemblyInstanceObjectPrototype.h LibWeb: Use JS_DECLARE_NATIVE_FUNCTION for WebAssembly accessors 2021-07-05 12:43:24 +01:00
WebAssemblyMemoryConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WebAssemblyMemoryConstructor.h LibJS: Rename Function => FunctionObject 2021-06-27 22:36:04 +02:00
WebAssemblyMemoryPrototype.cpp LibJS: Remove the default length & attributes from define_native_* 2021-07-06 14:20:30 +01:00
WebAssemblyMemoryPrototype.h LibWeb: Use JS_DECLARE_NATIVE_FUNCTION for WebAssembly accessors 2021-07-05 12:43:24 +01:00
WebAssemblyModuleConstructor.cpp LibJS: Add define_direct_property and remove the define_property helper 2021-07-06 14:20:30 +01:00
WebAssemblyModuleConstructor.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModuleObject.cpp LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModuleObject.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModulePrototype.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyObject.cpp LibWasm: Some more performance stuff (#8812) 2021-07-17 01:04:37 +04:30
WebAssemblyObject.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30