mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-13 18:36:38 +02:00
Change eval_declaration_instantiation to take EvalDeclarationData& instead of Program const&. The function body now iterates pre-computed name lists instead of walking the AST. Both callers (perform_eval and perform_shadow_realm_eval) now build EvalDeclarationData before calling eval_declaration_instantiation. This decouples the runtime declaration-instantiation API from AST types, matching the pattern already used by Script for global declaration instantiation.
17 KiB
17 KiB