mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWasm: Directly remove from the stack when clearing a label
Theoretically, the previous "pop, then push" method should be faster, but it's actually faster to just remove from the stack directly.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
b73b17aab4
commit
a2448308fd
@@ -79,7 +79,6 @@ protected:
|
||||
template<typename T>
|
||||
T read_value(ReadonlyBytes data);
|
||||
|
||||
Vector<Value> pop_values(Configuration& configuration, size_t count);
|
||||
ALWAYS_INLINE bool trap_if_not(bool value, StringView reason)
|
||||
{
|
||||
if (!value)
|
||||
|
||||
Reference in New Issue
Block a user