mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
* ``begin_access [modify]`` returned MayWrite, but "modify" means, it can be a read as well. Instead, return MayReadWrite. Only for ``begin_access [init]`` return MayWrite. This is more or less cosmetic - probably this bug had no real impact on any optimization. * ``begin_access [deinit]`` needs to return MayReadWrite for the same reason ``destroy_addr`` returns MayReadWrite (see SILInstruction::MemoryBehavior).
21 KiB
21 KiB