mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-08 16:12:23 +02:00
Mapped and unmapped arguments objects already use dedicated premade shapes. Track their [[ParameterMap]] internal slot there instead of setting an Object flag after construction. This keeps the information on the shared shape, preserves it through shape transitions, and still lets Object.prototype.toString() recognize arguments objects without per-instance bookkeeping.
7.2 KiB
7.2 KiB