mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
LibJS/JIT: Compile the NewFunction bytecode instruction
This commit is contained in:
parent
9f61cda27e
commit
9c93d100d1
3 changed files with 33 additions and 0 deletions
|
@ -1003,6 +1003,10 @@ public:
|
|||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
|
||||
FunctionExpression const& function_node() const { return m_function_node; }
|
||||
Optional<IdentifierTableIndex> const& lhs_name() const { return m_lhs_name; }
|
||||
Optional<Register> const& home_object() const { return m_home_object; }
|
||||
|
||||
private:
|
||||
FunctionExpression const& m_function_node;
|
||||
Optional<IdentifierTableIndex> m_lhs_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue