LibJS/Bytecode: Ensure we do not generate bytecode for super expressions

Similar to AST mode, super expressions are handled elsewhere.
This commit is contained in:
Timothy Flynn 2023-07-06 17:16:20 -04:00 committed by Andreas Kling
commit 2f1d6c0b9a
Notes: sideshowbarker 2024-07-17 22:41:14 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -1435,6 +1435,7 @@ public:
virtual Completion execute(Interpreter&) const override;
virtual void dump(int indent) const override;
virtual Bytecode::CodeGenerationErrorOr<void> generate_bytecode(Bytecode::Generator&) const override;
virtual bool is_super_expression() const override { return true; }
};