mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibJS: Remove GeneratorObject::initialize() override
This was missing its Base invocation. But since this override is not doing anything anyways, just remove it.
This commit is contained in:
parent
f7d8fb6366
commit
f8cb4f9686
2 changed files with 0 additions and 6 deletions
|
@ -41,11 +41,6 @@ GeneratorObject::GeneratorObject(Realm&, Object& prototype, ExecutionContext con
|
|||
{
|
||||
}
|
||||
|
||||
ThrowCompletionOr<void> GeneratorObject::initialize(Realm&)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
void GeneratorObject::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
|
|
|
@ -17,7 +17,6 @@ class GeneratorObject final : public Object {
|
|||
|
||||
public:
|
||||
static ThrowCompletionOr<NonnullGCPtr<GeneratorObject>> create(Realm&, Value, ECMAScriptFunctionObject*, ExecutionContext, Bytecode::RegisterWindow);
|
||||
virtual ThrowCompletionOr<void> initialize(Realm&) override;
|
||||
virtual ~GeneratorObject() override = default;
|
||||
void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue