1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:47:45 +00:00

LibJS: Mark FinishUnwind as a terminator

This commit is contained in:
Hendiadyoin1 2022-11-02 14:54:57 +01:00 committed by Ali Mohammad Pur
parent ded7545db1
commit 6998b72d22

View file

@ -783,6 +783,8 @@ public:
class FinishUnwind final : public Instruction { class FinishUnwind final : public Instruction {
public: public:
constexpr static bool IsTerminator = true;
FinishUnwind(Label next) FinishUnwind(Label next)
: Instruction(Type::FinishUnwind) : Instruction(Type::FinishUnwind)
, m_next_target(move(next)) , m_next_target(move(next))