diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp index 45942f4dc0..5fee8c1aa7 100644 --- a/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp +++ b/Userland/Libraries/LibWasm/AbstractMachine/Interpreter.cpp @@ -128,7 +128,7 @@ void BytecodeInterpreter::call_address(Configuration& configuration, FunctionAdd Result result { Trap {} }; { - Configuration::CallFrameHandle handle { configuration }; + CallFrameHandle handle { *this, configuration }; result = configuration.call(*this, address, move(args)); } @@ -437,7 +437,10 @@ void BytecodeInterpreter::interpret(Configuration& configuration, InstructionPoi for (size_t i = 0; i < frame.arity(); ++i) results.prepend(configuration.stack().pop()); // drop all locals +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" Optional