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:
Diego Frias
2024-08-02 21:12:20 -07:00
committed by Ali Mohammad Pur
parent b73b17aab4
commit a2448308fd
2 changed files with 1 additions and 19 deletions

View File

@@ -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)