mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-26 01:27:44 +00:00
LibJS/Bytecode: Rename TypeofVariable => TypeofBinding
This commit is contained in:
committed by
Andreas Kling
parent
9d21d88374
commit
4302e07346
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user