LibJS/Bytecode: Rename GetVariable => GetBinding

This commit is contained in:
Andreas Kling 2024-05-14 11:32:04 +02:00
commit 6ca94bd0b1
Notes: sideshowbarker 2024-07-16 22:34:39 +09:00
5 changed files with 12 additions and 12 deletions

View file

@ -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()));
}
}