mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The previous approach -- which attempted to put an llvm::Fixnum<52> into an llvm::PointerUnion -- failed to compile for 32-bit platforms. This approach now explicitly uses 62 bits of a uint64_t for storing either an ArchetypeType * or an llvm::Fixnum<62>, using the remaining 2 bits to store what kind of value is in storage. This fixes <rdar://problem/19283881>. Swift SVN r24084
19 KiB
19 KiB