mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
LibJS/Bytecode: Implement initial support for super member expressions
This commit is contained in:
parent
00493687f2
commit
b15128c45b
5 changed files with 137 additions and 31 deletions
|
@ -1130,6 +1130,19 @@ public:
|
|||
void replace_references_impl(Register, Register) { }
|
||||
};
|
||||
|
||||
class ResolveSuperBase final : public Instruction {
|
||||
public:
|
||||
explicit ResolveSuperBase()
|
||||
: Instruction(Type::ResolveSuperBase)
|
||||
{
|
||||
}
|
||||
|
||||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
void replace_references_impl(BasicBlock const&, BasicBlock const&) { }
|
||||
void replace_references_impl(Register, Register) { }
|
||||
};
|
||||
|
||||
class GetNewTarget final : public Instruction {
|
||||
public:
|
||||
explicit GetNewTarget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue