diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-24 20:26:20 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-24 20:26:20 +0000 |
commit | 20f2d4382f6fa8a130c27b575c71886a363f5927 (patch) | |
tree | 42a7289de920f78b8478ae4a3a875aa09d5dabd7 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | bbb5deace6ba4e20ade3d8f37f45b1425b88caef (diff) | |
download | bcm5719-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.cpp | 2 |
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; |