LibJS/Bytecode: Rename TypeofVariable => TypeofBinding

This commit is contained in:
Andreas Kling 2024-06-14 09:37:26 +02:00 committed by Andreas Kling
commit 4302e07346
Notes: sideshowbarker 2024-07-17 02:06:40 +09:00
5 changed files with 11 additions and 11 deletions

View file

@ -362,7 +362,7 @@ Bytecode::CodeGenerationErrorOr<Optional<ScopedOperand>> UnaryExpression::genera
if (is<Identifier>(*m_lhs)) {
auto& identifier = static_cast<Identifier const&>(*m_lhs);
if (!identifier.is_local()) {
generator.emit<Bytecode::Op::TypeofVariable>(dst, generator.intern_identifier(identifier.string()));
generator.emit<Bytecode::Op::TypeofBinding>(dst, generator.intern_identifier(identifier.string()));
break;
}
}