diff options
author | Eric Christopher <echristo@gmail.com> | 2018-07-30 23:21:51 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2018-07-30 23:21:51 +0000 |
commit | a2227a3f9a31b9a20e4aa89eefb4344e15156f21 (patch) | |
tree | 219d38941ccdec809666ed93eb66f44805a2acec /clang/lib/CodeGen | |
parent | 8f02a9ed3ce4ec720983461df00bb4ebea89fb23 (diff) | |
download | bcm5719-llvm-a2227a3f9a31b9a20e4aa89eefb4344e15156f21.tar.gz bcm5719-llvm-a2227a3f9a31b9a20e4aa89eefb4344e15156f21.zip |
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
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 4f2b153e96e..5be6fb3e424 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -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); |