samsonov added a subscriber: samsonov. ================ Comment at: lib/CodeGen/CGClass.cpp:1459 @@ +1458,3 @@ + + llvm::Value *Args[2] = { + Builder.CreateBitCast(LoadCXXThis(), VoidPtrTy), ---------------- Remove the size of the array here. For instance, if you reduce the number of elements, the code would still compile, but the array would have trailing nullptrs.
http://reviews.llvm.org/D11109 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits