mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibJS/Bytecode: Rename GetVariable => GetBinding
This commit is contained in:
parent
b7c04f999a
commit
6ca94bd0b1
Notes:
sideshowbarker
2024-07-16 22:34:39 +09:00
Author: https://github.com/awesomekling
Commit: 6ca94bd0b1
Pull-request: https://github.com/SerenityOS/serenity/pull/24324
5 changed files with 12 additions and 12 deletions
|
@ -133,7 +133,7 @@ CodeGenerationErrorOr<void> Generator::emit_function_declaration_instantiation(E
|
|||
if (id.is_local()) {
|
||||
emit<Op::Mov>(initial_value, local(id.local_variable_index()));
|
||||
} else {
|
||||
emit<Op::GetVariable>(initial_value, intern_identifier(id.string()));
|
||||
emit<Op::GetBinding>(initial_value, intern_identifier(id.string()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue