From 5b2c0dfec0a3af6ea5add020251489a0757fa7f7 Mon Sep 17 00:00:00 2001 From: Simon Wanner Date: Mon, 30 Oct 2023 08:59:07 +0100 Subject: [PATCH] LibJS/JIT: Return result of SuperCallWithArgumentArray MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test/language/expressions/optional-chaining/call-expression.js 💥️ -> ✅ test/language/expressions/super/call-expr-value.js 💥️ -> ✅ --- Userland/Libraries/LibJS/JIT/Compiler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/JIT/Compiler.cpp b/Userland/Libraries/LibJS/JIT/Compiler.cpp index 407389d008..b6101ac2ae 100644 --- a/Userland/Libraries/LibJS/JIT/Compiler.cpp +++ b/Userland/Libraries/LibJS/JIT/Compiler.cpp @@ -1091,8 +1091,7 @@ void Compiler::compile_block_declaration_instantiation(Bytecode::Op::BlockDeclar static Value cxx_super_call_with_argument_array(VM& vm, Value argument_array, bool is_synthetic) { - TRY_OR_SET_EXCEPTION(Bytecode::super_call_with_argument_array(vm, argument_array, is_synthetic)); - return {}; + return TRY_OR_SET_EXCEPTION(Bytecode::super_call_with_argument_array(vm, argument_array, is_synthetic)); } void Compiler::compile_super_call_with_argument_array(Bytecode::Op::SuperCallWithArgumentArray const& op)