mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibJS/JIT: Handle exceptions in LessThan :^)
This commit is contained in:
parent
9dd5be0186
commit
ed0d2bce83
1 changed files with 1 additions and 2 deletions
|
@ -160,8 +160,7 @@ void Compiler::compile_jump_conditional(Bytecode::Op::JumpConditional const& op)
|
|||
|
||||
[[maybe_unused]] static Value cxx_less_than(VM& vm, Value lhs, Value rhs)
|
||||
{
|
||||
// FIXME: Handle exceptions!
|
||||
return MUST(less_than(vm, lhs, rhs));
|
||||
return TRY_OR_SET_EXCEPTION(less_than(vm, lhs, rhs));
|
||||
}
|
||||
|
||||
void Compiler::compile_less_than(Bytecode::Op::LessThan const& op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue