Commit Graph

6 Commits

Author SHA1 Message Date
Rintaro Ishizaki
def0f1d4d8 Revert "[Test] Disable Interpreter/objc_extensions_jit.swift" 2021-07-22 16:22:42 -07:00
Rintaro Ishizaki
b8bb6d7822 [Test] Disable Interpreter/objc_extensions_jit.swift
rdar://80923668
2021-07-22 12:09:55 -07:00
Becca Royal-Gordon
70d120bc71 [IRGen] Accommodate ObjC generic classes better
Classes using the type-erased Objective-C generics model are represented in parts of IRGen as UnboundGenericTypes, which is a problem because a number of code paths expect all generic types to be bound. Update some of these that are involved in extensions on ObjC generic types.
2021-07-19 19:59:27 -07:00
Mike Ash
60f51bfedb [Tests] Disable a few tests that hit bugs on macOS 10.9.
rdar://problem/47053588
2019-01-23 18:15:51 -05:00
Slava Pestov
4069fa68db Sema: Lift restriction on @objc categories of concrete subclasses of generic classes
In-place initialization means the class has a symbol we can reference
from the category, so there's nothing to do on the IRGen side.

For JIT mode, we just need to realize the class metadata by calling an
accessor instead of directly referencing the symbol though.
2018-08-20 16:23:07 -07:00
Slava Pestov
4f1bda071f IRGen: Nested classes don't require runtime metadata instantiation
Fixes <rdar://problem/35221915>, <https://bugs.swift.org/browse/SR-6238>.
2017-11-01 15:58:23 -07:00