mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibJS: Remove unused Instruction::is_terminator()
This commit is contained in:
parent
3ccac0cf6e
commit
3d5cd23393
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/awesomekling
Commit: 3d5cd23393
Pull-request: https://github.com/SerenityOS/serenity/pull/21175
2 changed files with 0 additions and 15 deletions
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue