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
Notes: sideshowbarker 2024-07-17 08:34:29 +09:00

View file

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