1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibJS/JIT: Compile the ThrowIfNullish instruction

This commit is contained in:
Simon Wanner 2023-10-29 16:13:07 +01:00 committed by Andreas Kling
parent 9e2edc3085
commit e7fdf9c7e5
2 changed files with 16 additions and 1 deletions

View file

@ -109,7 +109,8 @@ private:
O(GetIterator, get_iterator) \
O(IteratorNext, iterator_next) \
O(IteratorResultDone, iterator_result_done) \
O(ThrowIfNotObject, throw_if_not_object)
O(ThrowIfNotObject, throw_if_not_object) \
O(ThrowIfNullish, throw_if_nullish)
# define DECLARE_COMPILE_OP(OpTitleCase, op_snake_case) \
void compile_##op_snake_case(Bytecode::Op::OpTitleCase const&);