LibJS: Remove unused Instruction::is_terminator()

This commit is contained in:
Andreas Kling 2023-09-21 09:41:25 +02:00
commit 3d5cd23393
Notes: sideshowbarker 2024-07-17 03:03:37 +09:00
2 changed files with 0 additions and 15 deletions

View file

@ -1442,18 +1442,4 @@ ALWAYS_INLINE ThrowCompletionOr<void> Instruction::execute(Bytecode::Interpreter
#undef __BYTECODE_OP
}
ALWAYS_INLINE bool Instruction::is_terminator() const
{
#define __BYTECODE_OP(op) \
case Type::op: \
return Op::op::IsTerminator;
switch (type()) {
ENUMERATE_BYTECODE_OPS(__BYTECODE_OP)
default:
VERIFY_NOT_REACHED();
}
#undef __BYTECODE_OP
}
}