ladybird/Libraries/LibJS/Rust/src
Andreas Kling 75b2bcd7e4 LibJS: Track duplicate environment binding slots
Duplicate sloppy block function declarations append duplicate runtime
bindings, and name lookup resolves to the newest slot. The bytecode
coordinate tracker was keeping the first slot instead, so a second
InitializeLexicalBinding could target an already initialized binding
when running through the C++ interpreter.

Record every emitted binding creation and let later duplicates replace
the coordinate map entry, matching the way DeclarativeEnvironment
appends bindings.
2026-05-18 20:35:14 +02:00
..
bytecode LibJS: Track duplicate environment binding slots 2026-05-18 20:35:14 +02:00
parser LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
ast.rs LibJS: Deduplicate adjacent source map entries during codegen 2026-05-14 09:41:03 +02:00
ast_dump.rs LibJS: Move ScopeData into ScopeArena and reference it by ScopeId 2026-05-05 13:53:51 +02:00
bytecode_cache.rs LibJS: Pass var environment binding counts through FFI 2026-05-18 20:35:14 +02:00
fast_hash.rs LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
lexer.rs LibJS: Intern identifier names in a per-arena string table 2026-05-05 13:53:51 +02:00
lib.rs LibJS: Pass var environment binding counts through FFI 2026-05-18 20:35:14 +02:00
parser.rs LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
scope_collector.rs LibJS: Use foldhash in parser and scope-collector hash maps 2026-05-05 13:53:51 +02:00
token.rs LibJS: Intern identifier names in a per-arena string table 2026-05-05 13:53:51 +02:00