[Runtime] Add entry for native swift objc reference to initWithTakeTable in CVW runtime

rdar://139708680

The entry was missing in the function table, causing runtime crashes.
This commit is contained in:
Dario Rexin
2024-11-12 15:12:19 -08:00
parent b5bf21758e
commit 591c2cbb65
2 changed files with 49 additions and 1 deletions

View File

@@ -1279,7 +1279,7 @@ constexpr InitFn initWithTakeTable[] = {
&copyingInitWithTake,
&copyingInitWithTake,
&copyingInitWithTake,
nullptr, // Custom
&copyingInitWithTake,
&metatypeInitWithTake,
nullptr, // Generic
&existentialInitWithTake,