mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The first word in a class existential is the class pointer itself. This pointer exposes spare bits differently depending on the platform, which becomes apparent when you try to reflect an Optional carrying such an MPE. Add new test cases and some logic to zero out the first word of spare bit information only on platforms with 8-byte pointers.
4.2 KiB
4.2 KiB