Fix compilation warning with help from David Chisnall.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54654 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index fb873c2..633b7b8 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/lib/CodeGen/CodeGenModule.cpp
@@ -331,10 +331,13 @@
   // this should probably be something different (size just of instance
   // varaibles in this class, not superclasses?).
   int instanceSize = 0;
-  const llvm::Type *ObjTy;
+  const llvm::Type *ObjTy = 0;
   if (!Runtime->LateBoundIVars()) {
     ObjTy = getTypes().ConvertType(Context.getObjCInterfaceType(ClassDecl));
     instanceSize = TheTargetData.getABITypeSize(ObjTy);
+  } else {
+    // This is required by newer ObjC runtimes.
+    assert(0 && "Late-bound instance variables not yet supported");
   }
 
   // Collect information about instance variables.