Revert "Add a definition for FieldSize that seems to make sense here."

This reverts commit r338327, the problem was previously fixed in r338321.

llvm-svn: 338328
This commit is contained in:
Eric Christopher 2018-07-30 23:21:51 +00:00
parent 8f02a9ed3c
commit a2227a3f9a
1 changed files with 0 additions and 1 deletions

View File

@ -974,7 +974,6 @@ llvm::DIType *CGDebugInfo::CreateType(const BlockPointerType *Ty,
if (CGM.getLangOpts().OpenCL) {
FType = CGM.getContext().IntTy;
EltTys.push_back(CreateMemberType(Unit, FType, "__size", &FieldOffset));
FieldSize = CGM.getContext().getTypeSize(Ty);
EltTys.push_back(CreateMemberType(Unit, FType, "__align", &FieldOffset));
} else {
FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);