mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
LibJS/JIT: Compile the CreateVariable bytecode instruction
This commit is contained in:
parent
54f1f7a51b
commit
224f92f6e4
3 changed files with 44 additions and 0 deletions
|
@ -410,6 +410,12 @@ public:
|
|||
ThrowCompletionOr<void> execute_impl(Bytecode::Interpreter&) const;
|
||||
DeprecatedString to_deprecated_string_impl(Bytecode::Executable const&) const;
|
||||
|
||||
IdentifierTableIndex identifier() const { return m_identifier; }
|
||||
EnvironmentMode mode() const { return m_mode; }
|
||||
bool is_immutable() const { return m_is_immutable; }
|
||||
bool is_global() const { return m_is_global; }
|
||||
bool is_strict() const { return m_is_strict; }
|
||||
|
||||
private:
|
||||
IdentifierTableIndex m_identifier;
|
||||
EnvironmentMode m_mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue