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

LibJS: Remove last user of Op::Jump::set_targets() and API itself

This was just a matter of instantiating a BasicBlock earlier so we
can reference it when making the jump.
This commit is contained in:
Andreas Kling 2023-09-28 12:46:17 +02:00
parent bdd21cf9db
commit 887183cad6
2 changed files with 2 additions and 14 deletions

View file

@ -830,12 +830,6 @@ public:
{
}
void set_targets(Label true_target, Optional<Label> false_target)
{
m_true_target = move(true_target);
m_false_target = move(false_target);
}
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;