mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 01:46:46 +02:00
Previously, each pair of promise resolving functions allocated a dedicated AlreadyResolved GC cell to hold a single shared bool. Move the bit onto the resolve function as a plain member, and have the reject function reach it through a GC::Ptr back to its paired resolve function.
2.0 KiB
2.0 KiB