mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Once we have promoted the box to stack, access violations can be detected statically by the DiagnoseStaticExclusivity pass (which runs after MandatoryAllocBoxToStack). Therefore we can convert dynamic accesses to static accesses. rdar://157458037