mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
LibWasm: Inline some very hot functions
These are mostly pretty small functions too, and they were about ~10% of runtime.
This commit is contained in:
parent
bacf5a7220
commit
70b94f58b2
2 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@ protected:
|
|||
T read_value(ReadonlyBytes data);
|
||||
|
||||
Vector<Value> pop_values(Configuration& configuration, size_t count);
|
||||
bool trap_if_not(bool value, StringView reason)
|
||||
ALWAYS_INLINE bool trap_if_not(bool value, StringView reason)
|
||||
{
|
||||
if (!value)
|
||||
m_trap = Trap { reason };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue