From 29b193d25d6effa2127b57d291c5350b2bd8a67b Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Tue, 18 May 2021 00:21:00 +0430 Subject: [PATCH] LibWasm: Resolve labels starting from the top of the stack Otherwise "label index 0" would be the first ever created label, not the last one (as the spec wants) :^( --- Userland/Libraries/LibWasm/AbstractMachine/Configuration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Configuration.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Configuration.cpp index ecc0bfd555..bc7e6c1f42 100644 --- a/Userland/Libraries/LibWasm/AbstractMachine/Configuration.cpp +++ b/Userland/Libraries/LibWasm/AbstractMachine/Configuration.cpp @@ -11,7 +11,8 @@ namespace Wasm { Optional