diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode')
-rw-r--r-- | Userland/Libraries/LibJS/Bytecode/Op.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Op.cpp b/Userland/Libraries/LibJS/Bytecode/Op.cpp index b072a0ad6f..e930e75ed0 100644 --- a/Userland/Libraries/LibJS/Bytecode/Op.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Op.cpp @@ -57,12 +57,12 @@ void Store::execute_impl(Bytecode::Interpreter& interpreter) const static Value abstract_inequals(GlobalObject& global_object, Value src1, Value src2) { - return Value(!is_loosely_equal(global_object, src1, src2)); + return Value(!TRY_OR_DISCARD(is_loosely_equal(global_object, src1, src2))); } static Value abstract_equals(GlobalObject& global_object, Value src1, Value src2) { - return Value(is_loosely_equal(global_object, src1, src2)); + return Value(TRY_OR_DISCARD(is_loosely_equal(global_object, src1, src2))); } static Value typed_inequals(GlobalObject&, Value src1, Value src2) |