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:
parent
8f02a9ed3c
commit
a2227a3f9a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue