Ugh, use this compiler workaround again.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134989 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp
index 7c35091..0bc99e2 100644
--- a/lib/CodeGen/CGBlocks.cpp
+++ b/lib/CodeGen/CGBlocks.cpp
@@ -633,11 +633,13 @@
 
       // Block captures count as local values and have imprecise semantics.
       // They also can't be arrays, so need to worry about that.
-      case QualType::DK_objc_strong_lifetime:
+      case QualType::DK_objc_strong_lifetime: {
+        // This local is a GCC and MSVC compiler workaround.
+        Destroyer *destroyer = &destroyARCStrongImprecise;
         pushDestroy(getCleanupKind(dtorKind), blockField, type,
-                    destroyARCStrongImprecise,
-                    /*useEHCleanupForArray*/ false);
+                    *destroyer, /*useEHCleanupForArray*/ false);
         break;
+      }
 
       case QualType::DK_objc_weak_lifetime:
       case QualType::DK_cxx_destructor: