From f9213723e519b9eab1a95f9bee0a71f0001e2fe0 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 3 Dec 2015 17:02:49 -0800 Subject: [PATCH] Remove workaround for IRGen bug This was fixed in '54a6b46 IRGen: If Objective-C interop is disabled foreign classes should use Swift reference counting'. --- CoreFoundation/Base.subproj/CFRuntime.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CoreFoundation/Base.subproj/CFRuntime.c b/CoreFoundation/Base.subproj/CFRuntime.c index d02ff4377a..33b667067d 100644 --- a/CoreFoundation/Base.subproj/CFRuntime.c +++ b/CoreFoundation/Base.subproj/CFRuntime.c @@ -1816,14 +1816,6 @@ CFTypeRef objc_retainAutoreleasedReturnValue(CFTypeRef cf) { else return NULL; } -#if DEPLOYMENT_TARGET_LINUX - -// The compiler current emits a reference to this symbol, but it is not actually present unless we define it here ourselves. This is a workaround until the compiler fix can be implemented. -CF_EXPORT void *_TWVBO; -void *_TWVBO = &_TWVBO; - -#endif - #endif #undef __kCFAllocatorTypeID_CONST