mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibJS/JIT: Compile the CreateVariable bytecode instruction
This commit is contained in:
parent
54f1f7a51b
commit
224f92f6e4
Notes:
sideshowbarker
2024-07-17 08:55:54 +09:00
Author: https://github.com/skyrising
Commit: 224f92f6e4
Pull-request: https://github.com/SerenityOS/serenity/pull/21665
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