mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
After removing the unwind context stack, ExecutionContextRareData only held two GC::Ptr fields — both trivially destructible. The indirection cost more than it saved: a GC cell allocation per EC, an extra pointer chase on every source range lookup, and unnecessary complexity. Replace the rare data cell with two inline fields on ExecutionContext: cached_source_range and context_owner.
30 KiB
30 KiB