mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
correct preconditions for ObjC layout, and write the computed offsets back to global ivar offset variables when present. Swift will use the global variables for accesses to ivars when it can show that their offsets are non-dependent. Fixes a major problem with generic subclasses of ObjC classes whose dynamic layout does not match the layout in their @interface. rdar://19583881 Swift SVN r25536
4 lines
48 B
Plaintext
4 lines
48 B
Plaintext
module ObjCClasses {
|
|
header "ObjCClasses.h"
|
|
}
|