diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-09-03 00:35:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-09-03 00:35:23 +0000 |
commit | be13194655cfc1aab977a17267f863a5945bfd4e (patch) | |
tree | 7b1fd6d1bea049a7013976e20a732d26a83e8fbb /clang/lib | |
parent | 08aede25384d4e95882df6320f900f9406d583a8 (diff) | |
download | bcm5719-llvm-be13194655cfc1aab977a17267f863a5945bfd4e.tar.gz bcm5719-llvm-be13194655cfc1aab977a17267f863a5945bfd4e.zip |
Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some projects.
llvm-svn: 112922
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index d4c65e3e744..8ce196b64e8 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -373,7 +373,7 @@ const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) { } // T x; - Types.push_back(ConvertTypeForMem(Ty)); + Types.push_back(ConvertType(Ty)); const llvm::Type *T = llvm::StructType::get(VMContext, Types, Packed); |