Commits

John McCall committed b6bafa5d745
When instantiating a generic class, set up the 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