summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-04-24 20:26:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-04-24 20:26:20 +0000
commit20f2d4382f6fa8a130c27b575c71886a363f5927 (patch)
tree42a7289de920f78b8478ae4a3a875aa09d5dabd7 /clang/lib/CodeGen/CGDebugInfo.cpp
parentbbb5deace6ba4e20ade3d8f37f45b1425b88caef (diff)
downloadbcm5719-llvm-20f2d4382f6fa8a130c27b575c71886a363f5927.tar.gz
bcm5719-llvm-20f2d4382f6fa8a130c27b575c71886a363f5927.zip
Fix pasto, add a comment.
llvm-svn: 102263
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 774d77ef304..933dc45229a 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -346,8 +346,8 @@ llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
FType = CGM.getContext().IntTy;
EltTys.push_back(CreateMemberType(Unit, FType, "__flags", &FieldOffset));
EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset));
+ FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
EltTys.push_back(CreateMemberType(Unit, FType, "__FuncPtr", &FieldOffset));
- EltTys.push_back(CreateMemberType(Unit, FType, "__reserved", &FieldOffset));
FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
FieldTy = DescTy;
OpenPOWER on IntegriCloud